Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!news-out.readnews.com!transit3.readnews.com!news-out.news.tds.net!newsreading01.news.tds.net!53ab2750!not-for-mail From: Sax@DIST.remove-nlb-this Subject: Re: JComboBox with IDentifiers Message-ID: <502943B4.56760.calajapr@time.synchro.net> X-Comment-To: All Newsgroups: comp.lang.java.programmer X-FTN-AREA: COMP.LANG.JAVA.PROGRAMMER X-FTN-MSGID: 1:261/38 4478affd Content-Type: text/plain; charset=IBM437 Content-Transfer-Encoding: 8bit X-Gateway: time.synchro.net [Synchronet 3.16a-Win32 NewsLink 1.98] Lines: 38 Date: Mon, 13 Aug 2012 18:36:18 GMT NNTP-Posting-Host: 69.21.70.65 X-Complaints-To: news@tds.net X-Trace: newsreading01.news.tds.net 1344882978 69.21.70.65 (Mon, 13 Aug 2012 13:36:18 CDT) NNTP-Posting-Date: Mon, 13 Aug 2012 13:36:18 CDT Organization: tds.net Xref: csiph.com comp.lang.java.programmer:17812 From: "Sax@DIST" Hi People, thanks a lot for your kind replies. 08-) I'll (try to) follow your suggests for JAVA programming in the future, as I'm working in JAVA language since a few days, and I didn't find any solution to my needs, so I wrote this one in the while of finding info about my needs! 0;-P BtW: which is the best place where to find (lots of simple) examples for learning the JAVA philosophy; for example: a *good and simple* solution for this problem? 08-? PS: I must use the Eclipse environment in the development of this small project, as it's part of a bigger one! 08-! Thanks a lot again, Roberto. 08-) On Friday, August 10, 2012 11:41:33 PM UTC+2, Sax@DIST wrote: > Hi Guys, > here I am again with another amazing trouble! 08-) > 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! > ... > --- BBBS/Li6 v4.10 Dada-1 * Origin: Prism bbs (1:261/38) --- Synchronet 3.16a-Win32 NewsLink 1.98 Time Warp of the Future BBS - telnet://time.synchro.net:24