🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #18934

JFC ScrollPane problem

#18934
From: Tim Shelley
Date: Thu, 26 Mar 1998 00:00
17 lines
1095 bytes
Hi All,

I am using JFC with Jbuilder but have come across a big problem -

I can create a ScrollPane with a textArea which scroll correctly, but if
I try to create a ScrollPane and add a panel to it the panel is
displayed on top of the ScrollPane not in it, and consquently it shows
the whole panel.  This is the code I am using:

    jScrollPane1.getViewport().add(panel);
    bevelPanel1.add(jScrollPane1, new XYConstraints(1, 2, 387, 243));

Is there something I should know about like bugs or an additonal line
that I need to add to the code?  Any help would be helpful.

Tim.
Technical Details
Message-ID: <351A4FEB.3D66B02@objectuk.co.uk>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,8c10f223291d9a95,start
X-Google-Attributes: gidf74b3,public
From: Tim Shelley <tim_shelley@objectuk.co.uk>
Subject: JFC ScrollPane problem
Date: 1998/03/26
Message-ID: <351A4FEB.3D66B02@objectuk.co.uk>
X-Deja-AN: 337877591
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Organization: Another Netscape Collabra Server User
Newsgroups: borland.public.jbuilder.java.language