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


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

Re: JComboBox with IDentifiers

From markspace <-@.>
Newsgroups comp.lang.java.programmer
Subject Re: JComboBox with IDentifiers
Date 2012-08-10 15:14 -0700
Organization A noiseless patient Spider
Message-ID <k0414b$rra$1@dont-email.me> (permalink)
References <08a4e9e5-be46-4a15-94c4-e6bfab71d781@googlegroups.com>

Show all headers | 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