Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Re: JComboBox with IDentifiers

Thread Tools

Re: JComboBox with IDentifiers

Posts: n/a
From: markspace <-@.>

On 8/10/2012 2:41 PM, Roberto Sagoleo wrote:
> Hi Guys, here I am again with another amazing trouble! 0
> I need to create a JComboBox containing a list of Items, each of
> which has its own IDentifier!
> So: when I select an Item of the JComboBox, I need to get its
> IDentifier (ie: its ID in a DataBase Table).
> I wrote the following four classes example, and I hope this could
> help someone else with my same needs!

Honestly I think your code is overly baroque, and doesn't follow Java coding
conventions. So it's not really useful.

Take a look at the tutorials here, to see some examples that I think are more


Let's extend this question somewhat: There's a "database inspector" built into
NetBeans, but I find it clumsy. Do people use GUI-based database
inspector/administration tools? Which ones do you like? If you were spec-ing
a Java version, what features would you like to see?

--- BBBS/Li6 v4.10 Dada-1
* Origin: Prism bbs (1:261/3
--- Synchronet 3.16a-Win32 NewsLink 1.98
Time Warp of the Future BBS - telnet://
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
JComboBox with IDentifiers Roberto Sagoleo Java 8 08-22-2012 10:30 AM
Re: JComboBox with IDentifiers Sax Java 1 08-13-2012 07:38 PM
Re: JComboBox with IDentifiers Sax@DIST.remove-nlb-this Java 3 08-13-2012 06:36 PM
Re: JComboBox with IDentifiers Lew Java 0 08-11-2012 06:17 PM
Binding identifiers to known or unknown identifiers Java 1 04-22-2008 04:54 AM