Article View: borland.public.jbuilder.java.swing
Article #13245Re: JList with scrollbar
From: Richard Wilkman
Date: Tue, 25 Aug 1998 00:00
Date: Tue, 25 Aug 1998 00:00
38 lines
1499 bytes
1499 bytes
Alex: In JFC you place items in the container JScrollPane to give them scrollability. Nice technical abstraction but not the most intuitive model. -Rich zimmerer wrote: > > Does anybody out there knows how to add a scrollbar to a JList?? > I've tried the follow: > > JList list = new JList(); > JScrollPane scroll = new JScrollPane(list); > > .......nothing happens, no scrollbar at all even I've added 1000 items > to the box. > Can anyone HELP me! > > thx. > > alex -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Rich Wilkman Senior Quality Assurance Engineer Borland JBuilder Team If you see something that looks like an opinion up there, it's mine and mine alone. Mail sent to me from the newsgroups won't bounce but will be ignored. If I have time, I'll respond, but you have a better chance if you confine your posts to the newsgroups =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Technical Details
Message-ID:
<35E2D583.AD8638DF@inprise.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<35E2A7B4.B5EC3479@cimag.de>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,b5ee876fbd119f83 X-Google-Attributes: gid111d45,public From: Richard Wilkman <rwilkman@inprise.com> Subject: Re: JList with scrollbar Date: 1998/08/25 Message-ID: <35E2D583.AD8638DF@inprise.com> X-Deja-AN: 384577867 Content-Transfer-Encoding: 7bit References: <35E2A7B4.B5EC3479@cimag.de> Content-Type: text/plain; charset=us-ascii Organization: Another Netscape Collabra Server User Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.swing