Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / GUI / December 2003

Tip: Looking for answers? Try searching our database.

combobox

Thread view: 
Sphinx - 08 Dec 2003 20:40 GMT
I have to make a java-program for my exam in school.
In my program I'm using an OptionPane with a combobox in it.
The user can choose from the list shown in the combobox and then press ok.
But I'm not totally happy with that...  I would like that the user of the
program is capable
for putting a new item in the combobox when that item doesn't appear in the
list from te combo.

So, what I actually want to have is a combination of a combobox (with all
the items in) and a textbox(where you can typ a new item in) in one. Is this
possible, or do I have to look for an other solution...

Sorry for the bad explanation.

Greetz,
Sphinx
Nils Wilhelms - 08 Dec 2003 20:49 GMT
comboBox.setEditable(true);

> I have to make a java-program for my exam in school.
> In my program I'm using an OptionPane with a combobox in it.
[quoted text clipped - 12 lines]
> Greetz,
> Sphinx


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.