Article View: borland.public.jbuilder.java.swing
Article #9627Re: Component initialization problems
From: John P. McGrath
Date: Wed, 23 Feb 2000 00:00
Date: Wed, 23 Feb 2000 00:00
19 lines
1253 bytes
1253 bytes
On Tue, 22 Feb 2000 17:12:34 -0500, Jeff Marendo wrote: > I'm not sure where to begin on this, but I'll try to keep it > concise. I have an applet that extends from JApplet. It has > a JTabbedPane on it. There are about 5 tabs in all. Each tab > has its own, unique JPanel associated with it. There is code > in place within the applet in a stateChanged method, basically > it says when I click on tab1, set tab1 to visible and > setVisible(false) for all of the others. Clicking on the other > tabs works similarly. I don't think it is likely that this is your problem, but I do not think you should have to do this. JTabbedPane should automatically handle the switching from one tab to another. -- John P. McGrath <JPMcGrath@fast.net> <jpm@nscs.fast.net>
Technical Details
Message-ID:
<MPG.131d4289a9373d399897b5@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<88v0ql$5ji4@bornews.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,b335ff2bac01f74d X-Google-Attributes: gid111d45,public From: John P. McGrath <JPMcGrath@fast.net> Subject: Re: Component initialization problems Date: 2000/02/23 Message-ID: <MPG.131d4289a9373d399897b5@forums.borland.com> X-Deja-AN: 588712409 References: <88v0ql$5ji4@bornews.borland.com> Organization: Another Netscape Collabra Server User Newsgroups: borland.public.jbuilder.java.swing