🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #3498

Panel in a SplitPane doesn't draw itself

#3498
From: Bob Lemm
Date: Tue, 09 Dec 1997 00:00
14 lines
1031 bytes
I have a SplitPane which has a jbcl TreeControl in the left pane, and a
normal panel in the right pane. When I make a selection in the tree control,
I remove the contents of the right pane, and replace it with a new panel.
But that panel doesn't draw itself until I move the SplitPane's divider. All
I really have to do is click the divider without moving it, and the panel
redraws itself.

What am I forgetting to make the panel refresh? I've tried repaint(), and a
myriad of other things, but I can't get it right!

Thanks,
Bob Lemm
rlemm@hiflite.com
Technical Details
Message-ID: <66jpob$n35@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: 1089d0,763733137979b671,start
X-Google-Attributes: gid1089d0,public
From: "Bob Lemm" <rlemm@neta.com>
Subject: Panel in a SplitPane doesn't draw itself
Date: 1997/12/09
Message-ID: <66jpob$n35@forums.borland.com>
X-Deja-AN: 296626829
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4
Organization: None
Reply-To: "Bob Lemm" <rlemm@hiflite.com>
Newsgroups: borland.public.jbuilder.java.api