🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

changing applet's visible components

#1135
From: Alex
Date: Fri, 17 May 2002 08:17
15 lines
1532 bytes
I have an applet. When it starts, i add (to that applet) 3 labels, 2
textfields and 1 button. When the user clicks on the button, i want to
remove all the components from the applet and add other labels,
textfields and buttons. I wrote the code of that applet, but, when i
click on that button, the applet panel emties, and that all.

I tested an application (extending a frame class), but it behaves the
same. I can see the new content of the applet, but only if i add
"this.setVisible(true);" after changing the content of the applet.
If i do the same thing into that applet (i mean adding the
"this.setVisible(true);" line, nothing happens, i can't see the new
content of the applet.

Does anyone can help me ?
Alex.
Technical Details
Message-ID: <3ce4bbf4_1@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!cox.net!news-out.visi.com!hermes.visi.com!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,a2a01878d1aeabeb,start
X-Google-Attributes: gid1089d0,public
X-Google-ArrivalTime: 2002-05-17 01:17:46 PST
From: "Alex" <alx@rol.ro>
Newsgroups: borland.public.jbuilder.java.api
Subject: changing applet's visible components
Date: Fri, 17 May 2002 11:17:16 +0300
Lines: 17
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: 213.154.130.34
Message-ID: <3ce4bbf4_1@dnews>
X-Trace: dnews 1021623284 213.154.130.34 (17 May 2002 01:14:44 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!cox.net!news-out.visi.com!hermes.visi.com!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews