🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

How to make a scroll pane with a fixed width content (like HTML browser)?

#1096
From: Alexey N. Solofnenko
Date: Thu, 25 Mar 2004 15:46
8 lines
1219 bytes
Hello,

   I am trying to create a simple HTML help panel that has only a 
vertical  scroll (when needed). Unfortunately I do not see a way to 
calculate a preferred height with a given width. What would be the best 
way to do it?

- Alexey.
Technical Details
Message-ID: <4062feea$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news2.google.com!fu-berlin.de!newsfeed.iinet.net.au!newsfeed.iinet.net.au!PeerFeed.KWeb.on.ca!news.kweb.on.ca!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,5ef09a04ded80ed1,start
X-Google-Attributes: gid111d45,public
X-Google-ArrivalTime: 2004-03-25 07:50:19 PST
Date: Thu, 25 Mar 2004 07:46:29 -0800
From: "Alexey N. Solofnenko" <alexeys@inventigo.com>
User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing
Subject: How to make a scroll pane with a fixed width content (like HTML browser)?
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 208.200.221.5
Message-ID: <4062feea$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1080229610 208.200.221.5 (25 Mar 2004 07:46:50 -0800)
Lines: 8
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news2.google.com!fu-berlin.de!newsfeed.iinet.net.au!newsfeed.iinet.net.au!PeerFeed.KWeb.on.ca!news.kweb.on.ca!newsgroups.borland.com!not-for-mail