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


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

Re: JComboBox with IDentifiers

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
From "Sax@DIST" <roberto.sagoleo@gmail.com>
Newsgroups comp.lang.java.programmer
Subject Re: JComboBox with IDentifiers
Date Mon, 13 Aug 2012 09:22:05 -0700 (PDT)
Organization http://groups.google.com
Lines 34
Message-ID <5a6762d4-5fb9-451d-86eb-98c26f3ef95a@googlegroups.com> (permalink)
References <08a4e9e5-be46-4a15-94c4-e6bfab71d781@googlegroups.com> <2eae09a5-6d01-401a-acb0-cc54ba8b516e@googlegroups.com> <k097nl$1is$1@dont-email.me>
NNTP-Posting-Host 130.251.34.250
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1
X-Trace posting.google.com 1344874926 4141 127.0.0.1 (13 Aug 2012 16:22:06 GMT)
X-Complaints-To groups-abuse@google.com
NNTP-Posting-Date Mon, 13 Aug 2012 16:22:06 +0000 (UTC)
In-Reply-To <k097nl$1is$1@dont-email.me>
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=130.251.34.250; posting-account=7Dj3tgoAAAC6g8Hn65v2eZeY00GT8AGg
User-Agent G2/1.0
Xref csiph.com comp.lang.java.programmer:17787

Show key headers only | View raw


Hi markspace,
 thanks a lot for the two links you suggested me about the Java Programming Language!   0;-)

The first one, about the "correct" usage of JComboBox itself, is very detailed and I think I can find what I need, reading the lots of examples.

The second one, about the database connection, will be very useful for me, as I need to get the data for the items of my JComboBox from a DataBase Table.

After all, my needs are very simple:
(o) to read some records (fields required: 'IDentifier' and 'Description') from a DB-Table
(o) to show the 'Description' of the records as Items of the JComboBox
(o) to do something else with the 'IDentifier' of the selected Item within the JComboBox

Thanks again for your precious help,
 Greetings.
  Roberto
   08-)



On Sunday, August 12, 2012 11:37:51 PM UTC+2, markspace wrote:
> On 8/12/2012 2:03 PM, Sax@DIST wrote:
> > 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-?
> 
> Well, I still don't know what the problem is,  other than "I don't know 
> Java." (Note spelling--not all caps.)  Anything you read now should 
> help, since you are just beginning.  Here's two ideas, both from the 
> Java tutorial (which you should certainly read).
> JCombobox:
> <http://docs.oracle.com/javase/tutorial/uiswing/components/combobox.html>
> Database connections:
> <http://docs.oracle.com/javase/tutorial/jdbc/index.html>
>

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