🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #1494

Re: ComboBoxModel

#1494
From: Jacklondon Chen
Date: Mon, 15 Dec 2003 04:04
20 lines
1598 bytes
Do not use ComboBoxModel, it work something like as AbstractComboBoxModel,
can do nothing.
Use DefaultComboBoxModel .

  DefaultComboBoxModel defaultComboBoxModelData = new
DefaultComboBoxModel();
  JComboBox jComboBoxData = new JComboBox(defaultComboBoxModelData);
    defaultComboBoxModelData.addElement("hello");
    defaultComboBoxModelData.addElement("heihei");



"Tzel" <stzelis@yahoo.gr> д����Ϣ����:3f143b59$1@newsgroups.borland.com...
> How could i put data to a ComboBox using the ComboBox model?
>
> Any examples or sites would be appreciatable
>
> Thanks
>
>
Technical Details
Message-ID: <3fdd32b5$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!news-out.visi.com!petbe.visi.com!newsfeed.news2me.com!newsfeed.wirehub.nl!news.kweb.on.ca!newsgroups.borland.com!not-for-mail
References: <3f143b59$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 111d45,80c2106396f99c07
X-Google-Attributes: gid111d45,public
X-Google-ArrivalTime: 2003-12-14 20:18:24 PST
Reply-To: "Jacklondon Chen" <jacklondon.chen@tom.com>
From: "Jacklondon Chen" <jacklondon.chen@tom.com>
Newsgroups: borland.public.jbuilder.java.swing
References: <3f143b59$1@newsgroups.borland.com>
Subject: Re: ComboBoxModel
Date: Mon, 15 Dec 2003 12:04:38 +0800
Lines: 22
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 210.22.158.131
Message-ID: <3fdd32b5$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1071461045 210.22.158.131 (14 Dec 2003 20:04:05 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!news-out.visi.com!petbe.visi.com!newsfeed.news2me.com!newsfeed.wirehub.nl!news.kweb.on.ca!newsgroups.borland.com!not-for-mail