🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

JPanel will not show up immediately

#10025
From: Jeff Marendo
Date: Mon, 22 Nov 1999 00:00
16 lines
1169 bytes
Hello,

I have some strange functionality happening in my applet dealing with a
JTree and JPanel.  I have a function that is executed when my doubleclicked
listener is activated from my JTree.  Basically, when you double-click a
node, a corresponding JPanel is retrieved and then added to a main display
panel.

I'm getting the panel that I want when I double-click a node; however, the
panel that I retrieve, which corresponds to the node just clicked, shows up
in my main display panel only after I move to and click another node in the
tree.

Does anyone have any idea why this might be occurring?  Thanks.

Jeff
Technical Details
Message-ID: <81brbo$32t20@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,a6010d783c0e3da5,start
X-Google-Attributes: gid111d45,public
From: "Jeff Marendo" <marendoj@commos.com>
Subject: JPanel will not show up immediately
Date: 1999/11/22
Message-ID: <81brbo$32t20@forums.borland.com>
X-Deja-AN: 551678419
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
Organization: CommTech Corporation
X-MSMail-Priority: Normal
Reply-To: "Jeff Marendo" <marendoj@commos.com>
Newsgroups: borland.public.jbuilder.java.swing