🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Resize the JScrollBar!

#8282
From: Johan Forsberg
Date: Thu, 28 Sep 2000 00:00
12 lines
1043 bytes
"Ohrieply" <Ohrieply@hotmail.com> skrev i meddelandet
news:39D2F402.79C4FDCD@hotmail.com...
> Dear all,
>
> I want to resize the JScrollBar to be smaller in my project.  I havn't
> found any parameter that support this in JScrollBar class.
>
> Do you have any idea to make it?

That depends a bit on which LayoutManager you're using, but generally
setPreferredSize() should work.
Technical Details
Message-ID: <8qvm8b$7g85@bornews.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <39D2F402.79C4FDCD@hotmail.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,dd7e2344c02588e2
X-Google-Attributes: gid111d45,public
From: "Johan Forsberg" <jfo@SPAMfinansforbundet.SPAMse>
Subject: Re: Resize the JScrollBar!
Date: 2000/09/28
Message-ID: <8qvm8b$7g85@bornews.borland.com>
X-Deja-AN: 675150457
Content-Transfer-Encoding: 7bit
References: <39D2F402.79C4FDCD@hotmail.com>
Organization: Another Netscape Collabra Server User
X-MSMail-Priority: Normal
X-Priority: 3
Content-Type: text/plain; charset="iso-8859-1"
Mime-Version: 1.0
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700
Newsgroups: borland.public.jbuilder.java.swing