🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: JScrollPane does not work !!!

#11345
From: Tor Iver Wilhelmsen
Date: Mon, 14 Jun 1999 00:00
10 lines
923 bytes
Qiang Song <qiang.song@kla-tencor.com> writes:

> Following is a very short testing code. There is no scrollbar with
> JScrollPane ! Same thing with ScrollPane. Help is wanted and
> aprreciated!

The scrollbars will only appear if the content is larger than viewport
size, and you don't set the size of your canvas. Also, you may want to
subclass JComponent instead of Canvas in order to minimize mixing of
lightweight and heavyweight components.
Technical Details
Message-ID: <ug13vgqrn.fsf@sds.no>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <37645300.7636ED33@kla-tencor.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,8e0dc61fd8ca804f
X-Google-Attributes: gid111d45,public
From: Tor Iver Wilhelmsen <tor.wilhelmsen@sds.no>
Subject: Re: JScrollPane does not work !!!
Date: 1999/06/14
Message-ID: <ug13vgqrn.fsf@sds.no>
X-Deja-AN: 489355820
Sender: towi@SDSA1761
References: <37645300.7636ED33@kla-tencor.com>
Organization: Another Netscape Collabra Server User
Newsgroups: borland.public.jbuilder.java.swing