Article View: borland.public.jbuilder.java.swing
Article #12664Re: JToolBar and JDialog
From: Vasudevan Srinivasan
Date: Wed, 18 Nov 1998 00:00
Date: Wed, 18 Nov 1998 00:00
29 lines
1701 bytes
1701 bytes
Hi Narayana, I too dont think you need a handle to JToolBar or its parents. did you look at your selectionIndex (of the TabPane) are they correct ? is the tabpane not displayed at all or not loaded at all. check it using setSelectionIndex(n), i think thats the command. I am using the same thing as you do but I dont experience the Tab Pane problems. If you can post your code-part may be we can help. Vasu J Narayana wrote: > Hi there! > > My problem situation is as follows: > > When a JButton [on a JToolBar in a JFrame] is clicked, I need to instantiate a > JDialog-subclassed object. This JDialog subclass in turn has a JTabbed pane > which is not showing properly [only two tab pages show up properly instead of > the three that I have added.] I can't figure out what I am doing wrong. Is it > a must that I call the super() method in my JDialog-subclassed class? Most > importantly, how do I get the parent of my JToolBar (Please give the EXACT > statement.) > > My email id is: JNarayan@arsin.com > > Thanks very much in advance. > > - Nani
Technical Details
Message-ID:
<365342E8.844ED352@netrisk.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<3625EF47.4C3D5403@ppi.de> <36260F04.F2837F52@inprise.com> <362B46B7.F1F7998E@ppi.de> <36525EC4.A6B5F194@arsin.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,432bd929d163a02 X-Google-Attributes: gid111d45,public From: Vasudevan Srinivasan <vasudevan@netrisk.com> Subject: Re: JToolBar and JDialog Date: 1998/11/18 Message-ID: <365342E8.844ED352@netrisk.com> X-Deja-AN: 413284782 Content-Transfer-Encoding: 7bit References: <3625EF47.4C3D5403@ppi.de> <36260F04.F2837F52@inprise.com> <362B46B7.F1F7998E@ppi.de> <36525EC4.A6B5F194@arsin.com> Content-Type: text/plain; charset=us-ascii Organization: Another Netscape Collabra Server User Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.swing