Article View: borland.public.jbuilder.java.swing
Article #10876JList set selection
From: Leo Cohen
Date: Fri, 30 Jul 1999 00:00
Date: Fri, 30 Jul 1999 00:00
18 lines
891 bytes
891 bytes
I want to bring up a JList with the item at (0) selected. I used programList.setSelectedIndex(0); I have now tried it before and after the setVisible(true) for the control, and it does not come up selected. -- Leo Cohen 116-1 Howard Drive Charlottesville, VA 22903 804-243-8922 (UVA) 804-244-4648 (home) 804-244-7922 (home fax) 815-550-9313 (office fax) lcohen@cs.virginia.edu
Technical Details
Message-ID:
<37A1F4D0.A605466C@cs.virginia.edu>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,59c5c146adb7ca2d,start X-Google-Attributes: gid111d45,public From: Leo Cohen <lcohen@cs.virginia.edu> Subject: JList set selection Date: 1999/07/30 Message-ID: <37A1F4D0.A605466C@cs.virginia.edu> X-Deja-AN: 507070320 Content-Transfer-Encoding: 7bit Organization: Another Netscape Collabra Server User Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.swing