Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #23515

Re: 5th col dies, cols 6 thru 15 move 1 col left, 15th col is born

From Knute Johnson <nospam@knutejohnson.com>
Newsgroups comp.lang.java.programmer
Subject Re: 5th col dies, cols 6 thru 15 move 1 col left, 15th col is born
Date 2013-04-19 17:03 -0700
Organization A noiseless patient Spider
Message-ID <kkslq8$bf9$2@dont-email.me> (permalink)
References <300a4c2f-daba-4007-8551-3b1d0f263d27@googlegroups.com>

Show all headers | View raw


On 4/19/2013 4:54 PM, clusardi2k@aol.com wrote:
> 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.
>
> Thank you,
>

Are these data entry fields?  Or just to be displayed?  Probably just 
drawing the data on a JComponent would be the easiest and quickest but 
would take a little more effort to create.  JLabels are nice too.

-- 

Knute Johnson

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

5th col dies, cols 6  thru 15 move 1 col left, 15th col is born clusardi2k@aol.com - 2013-04-19 16:54 -0700
  Re: 5th col dies, cols 6  thru 15 move 1 col left, 15th col is born Knute Johnson <nospam@knutejohnson.com> - 2013-04-19 17:03 -0700
    Re: 5th col dies, cols 6  thru 15 move 1 col left, 15th col is born "clusa@aol.com" <clusardi2k@aol.com> - 2013-04-19 17:29 -0700
    Re: 5th col dies, cols 6  thru 15 move 1 col left, 15th col is born "clusa@aol.com" <clusardi2k@aol.com> - 2013-04-19 22:29 -0700
      Re: 5th col dies, cols 6  thru 15 move 1 col left, 15th col is born Knute Johnson <nospam@knutejohnson.com> - 2013-04-20 09:02 -0700
  [OT] Re: 5th col dies, cols 6  thru 15 move 1 col left, 15th col is born Manuel Collado <m.collado@domain.invalid> - 2013-04-20 16:44 +0200
  Re: 5th col dies, cols 6  thru 15 move 1 col left, 15th col is born Eric Sosman <esosman@comcast-dot-net.invalid> - 2013-04-20 11:17 -0400
    Re: 5th col dies, cols 6  thru 15 move 1 col left, 15th col is born "clusa@aol.com" <clusardi2k@aol.com> - 2013-04-20 09:02 -0700
      Re: 5th col dies, cols 6  thru 15 move 1 col left, 15th col is born Eric Sosman <esosman@comcast-dot-net.invalid> - 2013-04-20 14:14 -0400

csiph-web