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


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

Re: Binding JComboBoxes/J

From "Sriram" <sriram@THRWHITE.remove-dii-this>
Subject Re: Binding JComboBoxes/J
Message-ID <2b10a5bb-7c90-4b3b-b57d-2dbc3efc5595@v13g2000pro.googlegroups.com> (permalink)
Newsgroups comp.lang.java.gui
References <nospam-39851B.06335706102008@news.motzarell
Date 2011-04-27 15:49 +0000
Organization TDS.net

Show all headers | View raw


  To: comp.lang.java.gui

Matt

Thanks for the quick reply. I checked that sample code out earlier
what it does it gets the column 2 nd column and use the setEditor to
set the combobox there at the JTable cell... Here in the case of mine
for any application that uses the JTable(I am created a flexible GUI
that uses instances of JTable,comboboxes and several textfields that
are to be embedded in the JTable so to as gather/populate the data and
rowwise/columnwise...) that application may have a standard fixed
width of combination of textfields/comboboxes... they vary . So I need
kinda of a loop to retrieve to make sure if the field is a JTextField
or JComboBox then add this to JTable ?.... How do I do this? any ideas

Sriram

---
 * 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


Thread

Re: Binding JComboBoxes/J "Sriram" <sriram@THRWHITE.remove-dii-this> - 2011-04-27 15:49 +0000

csiph-web