*
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
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: 2180
    
    7
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to set ID and Value for a JCombobox