🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Resize the JScrollBar!

#8280
From: John McGrath TeamB
Date: Thu, 28 Sep 2000 00:00
18 lines
1097 bytes
On Thu, 28 Sep 2000 15:32:18 +0800, Ohrieply wrote:

> I want to resize the JScrollBar to be smaller in my project. 
> I havn't found any parameter that support this in JScrollBar
> class.

Have you tried setting the PreferredSize for the JScrollBar?  My guess is 
that only one dimension of the PreferredSize would be used.  For a 
vertical scrollbar the height would be ignored, and for a horizontal 
scroll bar, the width would be ignored.

-- 
Regards,
John McGrath [TeamB]

---------------------------------------------------
Before sending me e-mail, please read:
    http://www.JPMcGrath.net/newsgroups/e-mail.html
Technical Details
Message-ID: <MPG.143ce3c18c96fa1c989b93@forums.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: John McGrath  [TeamB] <ng-b@JPMcGrath.net>
Subject: Re: Resize the JScrollBar!
Date: 2000/09/28
Message-ID: <MPG.143ce3c18c96fa1c989b93@forums.borland.com>
X-Deja-AN: 675079607
References: <39D2F402.79C4FDCD@hotmail.com>
Organization: Another Netscape Collabra Server User
Newsgroups: borland.public.jbuilder.java.swing