Article View: borland.public.jbuilder.java.api
Article #3324Re: ScrollPane problem
From: Robert Oberhofer
Date: Thu, 05 Feb 1998 00:00
Date: Thu, 05 Feb 1998 00:00
24 lines
1314 bytes
1314 bytes
Try catching when your ScrollPane resizes and then invalidate() it and then validate() it. Helped me with a similar ScrollPane problem. Cheers, Robert. Tim Shelley wrote in message <34D5C4C0.100946CD@objectuk.co.uk>... >Hi, > >I have a frame that has a scrollpane, in turn this scrollpane has a >panel. What I am trying to do is to somehow handle resizing of the >frame (I have the window event for resizing so that I can capture that >event). I have it working sort-of, as soon as the frame is bigger than >the panel the scroll bars disappear. But when I resize the frame to >make it smaller the scrollbars appear but I can only only scroll part of >the way down - as though the panel has also been resized smalled?. Can >anyone help me to find out how I can handle this resizing event >correctly? > >Thanks, > >Tim >
Technical Details
Message-ID:
<6bcko4$8p38@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<34D5C4C0.100946CD@objectuk.co.uk>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,af56c3e4fb7459e7 X-Google-Attributes: gid1089d0,public From: "Robert Oberhofer" <robert.oberhofer@usa.net> Subject: Re: ScrollPane problem Date: 1998/02/05 Message-ID: <6bcko4$8p38@forums.borland.com> X-Deja-AN: 322325321 References: <34D5C4C0.100946CD@objectuk.co.uk> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Organization: None Newsgroups: borland.public.jbuilder.java.api