Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.mixmin.net!aioe.org!.POSTED!not-for-mail From: Manuel Collado Newsgroups: comp.lang.java.programmer Subject: [OT] Re: 5th col dies, cols 6 thru 15 move 1 col left, 15th col is born Date: Sat, 20 Apr 2013 16:44:02 +0200 Organization: Aioe.org NNTP Server Lines: 27 Message-ID: References: <300a4c2f-daba-4007-8551-3b1d0f263d27@googlegroups.com> NNTP-Posting-Host: VwOBBDgzol1kF47KjTHTsg.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/17.0 Thunderbird/17.0 X-Notice: Filtered by postfilter v. 0.8.2 Xref: csiph.com comp.lang.java.programmer:23523 El 20/04/2013 1:54, clusardi2k@aol.com escribió: > What is the best way to build the following application. > > I would like to create an application that when it opens it will have > 300 rows and 15 columns. > > The first 4 columns on the left side will be updated with alphanumeric > data but will always be displayed. They never disappear. > > The remaining 11 columns (also containing alphanumeric data) will move > to the left with the leftmost column (column 5) disappearing and a brand > new column 15 will appear on the right side of the window. Column 15 > never existed before. > > Again, I want an application with 15 columns always displayed with the > 5th column leaving (data not saved) the application, columns 6 through > 15 will move one column to the left, and the 15th column will be > populated with new data. > > What's the best way to do this. Do you have example code for me. If your input and output data are just text files you could consider using awk instead of Java. -- Manuel Collado - http://lml.ls.fi.upm.es/~mcollado