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


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

Re: JComboBox with IDentifiers

From Sax@DIST.remove-nlb-this
Subject Re: JComboBox with IDentifiers
Message-ID <502943B7.56779.calajapr@time.synchro.net> (permalink)
Newsgroups comp.lang.java.programmer
References <502943B4.56762.calajapr@time.synchro.net>
Date 2012-08-13 18:36 +0000
Organization tds.net

Show all headers | View raw


  To: markspace
From: "Sax@DIST" <roberto.sagoleo@gmail.com>

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

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

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


Thread

Re: JComboBox with IDentifiers Sax@DIST.remove-nlb-this - 2012-08-13 18:36 +0000
  Re: JComboBox with IDentifiers "markspace" <markspace@1:261/38.remove-nlb-this> - 2012-08-13 18:36 +0000
    Re: JComboBox with IDentifiers Sax@DIST.remove-nlb-this - 2012-08-13 18:36 +0000
      Re: JComboBox with IDentifiers "Daniele Futtorovic" <daniele.futtorovic@1:261/38.remove-nlb-this> - 2012-08-13 18:36 +0000

csiph-web