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


Groups > comp.lang.java.gui > #1992

Re: Adding elements to ex

From "Roedy Green" <roedy.green@THRWHITE.remove-dii-this>
Subject Re: Adding elements to ex
Message-ID <ilq4939osjs9dc5crpfu980cm1bkaeesna@4ax.com> (permalink)
Newsgroups comp.lang.java.gui
References <f6t8vm$eme$1@news-a.stw-bonn.de>
Date 2011-04-27 15:36 +0000
Organization TDS.net

Show all headers | View raw


  To: comp.lang.java.gui
On Mon, 9 Jul 2007 12:16:54 +0000 (UTC), Till Crueger <TillFC@gmx.net>
wrote, quoted or indirectly quoted someone who said :

>I created a seperate JPanel
>for each person with a JLabel and a JCheckbox. Then I add this to the
>listing JPanel. However the list is not displayed unless I resize the
>window. Is there any way to handle this better?

you might use a JTable.  If this list stays small, arrays of
components is probably as easy as anything.


see http://mindprod.com/jgloss/jtable.html
--
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

Back to comp.lang.java.gui | Previous | Next | Find similar | Unroll thread


Thread

Re: Adding elements to ex "Roedy Green" <roedy.green@THRWHITE.remove-dii-this> - 2011-04-27 15:36 +0000

csiph-web