Article View: borland.public.jbuilder.java.swing
Article #11441Re: JCombobox quiz ?
From: Sohan Mendis
Date: Tue, 01 Jun 1999 00:00
Date: Tue, 01 Jun 1999 00:00
23 lines
1354 bytes
1354 bytes
Initially list is empty. All I want to do is associate a tag to the Combobox which shows at design time. VB does this through text property. I think even in delphi does this. Sohan Tad Frysinger <tfrysinger@earthlink.net> wrote in message news:MPG.11bc7fefaeedb0479899fe@forums.borland.com... > In article <7ispnh$ceg6@forums.borland.com>, sohan@maxtrak.com says... > > I have noticed , there is nt a property to set the Text as in VB Combo Box > > control. Actually this helps me to associate an information at design time. > > How can I do this in JComboBox so that I can make a text appear( as in > > JTextField) in the JCombobox ? > > > > Sohan > > > > > > > I'm mot open in JBuilder to test this, but try setSelectedItem() > > Tad Frysinger(TeamB)
Technical Details
Message-ID:
<7iv178$eo96@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<7ispnh$ceg6@forums.borland.com> <MPG.11bc7fefaeedb0479899fe@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,93792d9dc39e0de2 X-Google-Attributes: gid111d45,public From: "Sohan Mendis" <sohan@maxtrak.com> Subject: Re: JCombobox quiz ? Date: 1999/06/01 Message-ID: <7iv178$eo96@forums.borland.com> X-Deja-AN: 484227826 References: <7ispnh$ceg6@forums.borland.com> <MPG.11bc7fefaeedb0479899fe@forums.borland.com> X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Organization: Another Netscape Collabra Server User X-MSMail-Priority: Normal Newsgroups: borland.public.jbuilder.java.swing