Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #17657

Re: JComboBox with IDentifiers

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail
From markspace <-@.>
Newsgroups comp.lang.java.programmer
Subject Re: JComboBox with IDentifiers
Date Fri, 10 Aug 2012 15:14:28 -0700
Organization A noiseless patient Spider
Lines 26
Message-ID <k0414b$rra$1@dont-email.me> (permalink)
References <08a4e9e5-be46-4a15-94c4-e6bfab71d781@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
Injection-Date Fri, 10 Aug 2012 22:14:35 +0000 (UTC)
Injection-Info mx04.eternal-september.org; posting-host="104ea93b2a90d763b2b4538d1ef3ad00"; logging-data="28522"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18LPa4aX/Fq947V/CAWlNO+vxW2+JvnVc8="
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0
In-Reply-To <08a4e9e5-be46-4a15-94c4-e6bfab71d781@googlegroups.com>
Cancel-Lock sha1:EI9sfpdMnGRTSuF3N4cVyYGWkuY=
Xref csiph.com comp.lang.java.programmer:17657

Show key headers only | View raw


On 8/10/2012 2:41 PM, Roberto Sagoleo 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!


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 useful:

<http://netbeans.org/kb/trails/tools.html>

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?

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

JComboBox with IDentifiers Roberto Sagoleo <roberto.sagoleo@gmail.com> - 2012-08-10 14:41 -0700
  Re: JComboBox with IDentifiers markspace <-@.> - 2012-08-10 15:14 -0700
  Re: JComboBox with IDentifiers Lew <lewbloch@gmail.com> - 2012-08-10 15:26 -0700
  Re: JComboBox with IDentifiers "Sax@DIST" <roberto.sagoleo@gmail.com> - 2012-08-12 14:03 -0700
    Re: JComboBox with IDentifiers markspace <-@.> - 2012-08-12 14:37 -0700
      Re: JComboBox with IDentifiers "Sax@DIST" <roberto.sagoleo@gmail.com> - 2012-08-13 09:22 -0700
        Re: JComboBox with IDentifiers Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> - 2012-08-13 18:49 +0200
  Re: JComboBox with IDentifiers Roedy Green <see_website@mindprod.com.invalid> - 2012-08-14 18:02 -0700
  Re: JComboBox with IDentifiers "Sax@DIST" <roberto.sagoleo@gmail.com> - 2012-08-22 03:30 -0700

csiph-web