Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #1362
| From | "LoKi`" <loki`@THRWHITE.remove-dii-this> |
|---|---|
| Subject | Java SWT: dynamic Table |
| Message-ID | <1175447266.411962.63560@q75g2000hsh.googlegroups.com> (permalink) |
| Newsgroups | comp.lang.java.gui |
| Date | 2011-04-27 15:32 +0000 |
| Organization | TDS.net |
To: comp.lang.java.gui The search of the strings "dynamic table swt" had 1 result... :( I'm trying to build a dynamic table with three methods. 1. defining the table (without any columns or whatsoever) 2. depending on the "user-choice" I will call up a class to set up the columns (interface) 3. the same class is also respsonsible for querying the database and filling out the table (foreach a method). What I have to do is delete the first table after pressing a button (how?). The SWT methods clearAll() or removeAll() will just clear out the items but not the columns. My system is creating the new table so far, but he adds it instead of deleting the first one. Setting "table = null;" inside of a new "runnable" seems not to work at all. Any other suggestions of how to make a dynamic table with different columns depending on the users choice? --- * 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
Java SWT: dynamic Table "LoKi`" <loki`@THRWHITE.remove-dii-this> - 2011-04-27 15:32 +0000
csiph-web