Get your CodeRanch badge!*
The moose likes Swing / AWT / SWT and the fly likes How to set ID and Value for a JCombobox Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "How to set ID and Value for a JCombobox" Watch "How to set ID and Value for a JCombobox" New topic
Author

How to set ID and Value for a JCombobox

Hasif Subair
Greenhorn

Joined: Aug 12, 2009
Posts: 24

I have get an array of objects of this class. I need to set the id and value on the JComboBox similar to that of a dropdownlist. So that I get the ID from the selected item.
Rob Camick
Ranch Hand

Joined: Jun 13, 2009
Posts: 2095
    
    7
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to set ID and Value for a JCombobox
 
Similar Threads
about Hibernate
any idea about JComboBox Modal? with JDBC
JTable cell Editor/Renderer Question
Setting color in a JComboBox
Problem adding JComboBox to JFrame