Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #348
| From | "RC" <rc@THRWHITE.remove-dii-this> |
|---|---|
| Subject | Questions About JTable Ce |
| Message-ID | <ela281$lr$3@news.nems.noaa.gov> (permalink) |
| Newsgroups | comp.lang.java.gui |
| Date | 2011-04-27 15:27 +0000 |
| Organization | TDS.net |
To: comp.lang.java.gui I am try to edit my table three columns: Observation Time, Value and Mode where they are Timestamp, Double and String. My first question is do I need to create three different DefaultCellditors, one for Timestamp, one for Double and one for String? Because I am thinking use JFormattedTextField instead just JTextField, which I can force user type in correct Timestamp format and Double digits. I went to this page http://java.sun.com/docs/books/tutorial/uiswing/components/table.html But I couldn't find some sample codes. I also checked out Sun's TableDemo.java in SwingSet2. I only found JComboBox CellEditor codes. Can someone out there point me some sample codes how to create some table cell editor? Thank Q very much in advance! --- * 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
Questions About JTable Ce "RC" <rc@THRWHITE.remove-dii-this> - 2011-04-27 15:27 +0000
csiph-web