🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Please Help ME...(Problem about JList & JCombobox)

#10190
From: Mohan Shenoy
Date: Fri, 05 Nov 1999 00:00
10 lines
775 bytes
For JList you can use
((DefaultListModel)list.getModel()).addElement("test");

For JComboBox you can use
cb.addItem("test");

--
Mohan Shenoy
Email: shenoym@vsnl.com
http://personal.vsnl.com/mohans
Technical Details
Message-ID: <7vufpl$e0be$1@fu-berlin.de>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <3822B46C.BCC06F27@usa.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,5598d06099a399b3
X-Google-Attributes: gid111d45,public
From: "Mohan Shenoy" <shenoym@vsnl.com>
Subject: Re: Please Help ME...(Problem about JList & JCombobox)
Date: 1999/11/05
Message-ID: <7vufpl$e0be$1@fu-berlin.de>
X-Deja-AN: 544772057
References: <3822B46C.BCC06F27@usa.net>
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
X-Trace: fu-berlin.de 941802101 459118 195.125.188.3 (16 [12571])
X-MSMail-Priority: Normal
Newsgroups: borland.public.jbuilder.java.swing