Re: Coordinating multiple JTextField updates across panels
zn?rt wrote:
Jarrick Chagma wrote:
Please elaborate. This is a special purpose application
and is not at all similar to a typical "business" app. I
cannot think of a better way to do what I need to do so I
would be interested to hear your thoughts.
you might be right, i don't know your specifications. but i can't easily think of
a requirement that needs so much JTextField at once on-screen, up to the
point that display/refresh becomes an issue. iirc you didn't state an actual
number but there must be a nice heap of them. lets say 500.
basic point: no user will ever enter data in 500 textboxes, so there's seems
little real need for actually placing as many of them on the screen, in favor of
more lightweight components for display. maybe he should be able to update
any of them at any time, but there are many ways to allow this without filling
the screen with textboxes. i could think of in-place editing in a JTable, for
instance, wich would display and refresha fair amount of data real fast and is
easily customizable. if JTable was not an option, this same behaviour could
be implemented using any other components: a series of JLabel or even a
single big custom rendering component.
Actually I have an application running in the wild that has 2200
JTextFields, 800 JCheckboxes and 200 JComboBoxes, and an assortment of
buttons and labels on one panel. Probably only a few hundred are
visible at any given time but it does have a lot. The refresh never
really bothered me but I can see where it might bother somebody.
--
Knute Johnson
email s/nospam/knute2009/
--
Posted via NewsDemon.com - Premium Uncensored Newsgroup Service
------->>>>>>http://www.NewsDemon.com<<<<<<------
Unlimited Access, Anonymous Accounts, Uncensored Broadband Access