Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / First Aid / May 2004

Tip: Looking for answers? Try searching our database.

Tabbed Pane problem

Thread view: 
dav - 29 May 2004 16:48 GMT
Okay I've spent the last 3hrs trying to figure out why my tabbed panes are
acting strangely, but have had no luck. So hope someone here can help me
out.

Basically i have a class that produces my window,meubar, etc.. this class
also holds the 3 tabbed panes. Each one of these panes holds one of my own
defined classes and each of these classes extends JPanel.

Ok now the problem in two of these classes there are a few drop down lists
(Choice) and for some reason when you first start up the application no
matter which tab you select to display 1st you can see all the drop down
menus. Now if you select a different tab everything is fine, you can only
see the drop down lists for that tab as it should be.
So it only happens when the program is first started.

Can anyone help me out a bit here?

Any suggestions would be appreciated

Dav
Andrew Thompson - 29 May 2004 17:05 GMT
> ...each of these classes extends JPanel.
>
>..there are a few drop down lists
> (Choice)

Swing and AWT do not play together,
<http://www.physci.org/guifaq.jsp#5.1>
choose one or the other.

Signature

Andrew Thompson
http://www.PhySci.org/ Open-source software suite
http://www.PhySci.org/codes/ Web & IT Help
http://www.1point1C.org/ Science & Technology

dav - 29 May 2004 18:02 GMT
Andrew Thompson <SeeMySites@www.invalid> wrote in news:lciplpaoxktg
$.lqlptohg4avx.dlg@40tude.net:

> http://www.physci.org/guifaq.jsp#5.1

Hi Andrew cheers for that.
Decided to use JComboBox and sorry about the cross posting thing

Dav
Andrew Thompson - 29 May 2004 18:34 GMT
> Andrew Thompson <SeeMySites@www.invalid> wrote in news:
..
>> http://www.physci.org/guifaq.jsp#5.1
..
> Decided to use JComboBox

That should do the trick.  Have a close
look over the GUI FAQ.  Lots of great tips.

>..and sorry about the cross posting thing

It's cool.

Signature

Andrew Thompson
http://www.PhySci.org/ Open-source software suite
http://www.PhySci.org/codes/ Web & IT Help
http://www.1point1C.org/ Science & Technology



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.