Article View: borland.public.jbuilder.java.swing
Article #1759Re: ComboBoxModel
From: Lori Olson (TeamB)
Date: Tue, 15 Jul 2003 17:43
Date: Tue, 15 Jul 2003 17:43
37 lines
2053 bytes
2053 bytes
Tzel wrote:
> How could i put data to a ComboBox using the ComboBox model?
>
> Any examples or sites would be appreciatable
>
> Thanks
>
>
Here's the basic tutorial on Comboboxes.
http://java.sun.com/docs/books/tutorial/uiswing/components/combobox.html
Just create your Combobox using the constructor that takes a model as a
parameter, or set the model using the Combobox method "setModel()"
It really isn't that difficult. Try it, and if it doesn't work, then
post your code and we'll help out.
--
Regards,
Lori Olson (TeamB)
------------
Save yourself, and everyone else, some time and search the
newsgroups and the FAQ-O-Matic before posting your next
question.
Google Advanced Newsgroup Search
http://www.google.ca/advanced_group_search
Other Newsgroup Searches:
http://www.borland.com/newsgroups/ngsearch.html
Joi Ellis's FAQ-O-Matic:
http://www.visi.com/~gyles19/fom-serve/cache/1.html
Technical Details
Message-ID:
<3f143d35$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.media.kyoto-u.ac.jp!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<3f143b59$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,80c2106396f99c07 X-Google-Attributes: gid111d45,public X-Google-ArrivalTime: 2003-07-15 10:50:21 PST Date: Tue, 15 Jul 2003 11:43:18 -0600 From: "Lori Olson (TeamB)" <javadragon@techie.com> User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3.1) Gecko/20030531 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.jbuilder.java.swing Subject: Re: ComboBoxModel References: <3f143b59$1@newsgroups.borland.com> In-Reply-To: <3f143b59$1@newsgroups.borland.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 142.179.181.200 Message-ID: <3f143d35$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1058290997 142.179.181.200 (15 Jul 2003 10:43:17 -0700) Lines: 38 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.media.kyoto-u.ac.jp!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail