Results 1 to 6 of 6
- 12-30-2009, 04:37 AM #1
Member
- Join Date
- Dec 2009
- Posts
- 14
- Rep Power
- 0
How to get the selected item from combox
Hi,
I am working on Tablemodel and able to create the table with one column having comboboxes. Now planning to add actionlister so that i may know the value of selected item for the selected combox. But I don't have any idea. Can someone pleasehelp me. I will be really thankful to ypu.
Thanks in advance.
Add to man4ish's Reputation
- 12-30-2009, 07:10 AM #2
Senior Member
- Join Date
- Aug 2009
- Posts
- 2,388
- Rep Power
- 6
- 12-30-2009, 08:00 AM #3
Member
- Join Date
- Dec 2009
- Posts
- 14
- Rep Power
- 0
I know how to manage it singly but they are in table so how to get selected item for selected combobox (out of many combobox)?
Regards
- 12-30-2009, 08:03 AM #4
Member
- Join Date
- Dec 2009
- Posts
- 14
- Rep Power
- 0
Is is in rendered form. so i have to find the getselecteditem event for selected combobox? Please do help me.
Regards
- 12-30-2009, 08:13 AM #5
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
Did you try getSelectedValue() ? Return an object.
- 12-30-2009, 10:29 AM #6
Member
- Join Date
- Dec 2009
- Posts
- 14
- Rep Power
- 0
Similar Threads
-
Remove an item from listbox
By Dieter in forum Advanced JavaReplies: 9Last Post: 09-21-2009, 10:40 PM -
Extract item from a string
By firewalll in forum New To JavaReplies: 2Last Post: 09-02-2009, 05:00 AM -
Drag n droD for a tree item
By jackmatt2 in forum SWT / JFaceReplies: 0Last Post: 08-23-2009, 12:58 PM -
[SOLVED] Item too big for JComboBox
By nwboy74 in forum AWT / SwingReplies: 5Last Post: 02-23-2009, 08:21 PM -
grabbing an item from an arraylist.
By newtojava7 in forum New To JavaReplies: 1Last Post: 03-17-2008, 08:25 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks