🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

no vertical scrollbar for JTree

#10410
From: Eckard Buchner
Date: Thu, 23 Sep 1999 00:00
15 lines
1060 bytes
Hi,
i'm using a JTree in a JScrollPane on one side of a JSplitPane. The
SplitPane ist the CENTER-component of a JFrame.

There never appears a VERTICAL scrollbar for the tree (horizontal scrollbar
does appear). When i tell JScrollPane to always show the scrollbar, then i
get the scrollbar, but it is disabled.

It seems that the JScrollPane knows about the tree width, but not the tree
height. i reduced my code to java tutorial levels and still get this
behavior

Help would be VERY MUCH appreciated
thank you
Eckard Buchner
Technical Details
Message-ID: <7sdii7$d6024@forums.borland.com>
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: 111d45,8b2b57274a60040e,start
X-Google-Attributes: gid111d45,public
From: "Eckard Buchner" <ebuchner@rhein-neckar.netsurf.de>
Subject: no vertical scrollbar for JTree
Date: 1999/09/23
Message-ID: <7sdii7$d6024@forums.borland.com>
X-Deja-AN: 528684394
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Organization: Another Netscape Collabra Server User
X-MSMail-Priority: Normal
Newsgroups: borland.public.jbuilder.java.swing