This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes JTabbedPane and Instances Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JTabbedPane and Instances" Watch "JTabbedPane and Instances" New topic
Author

JTabbedPane and Instances

Amy Phillips
Ranch Hand

Joined: Apr 02, 2003
Posts: 280
Hi,
I am having a little trouble displaying my class instances on the seperate panes of the JTabbedPane
In the TabbedPane class I create a TabbedPane as follows

Then I have a CreateOverview class where I lay out the components. At the moment the compiler is having trouble with line 2 of the above code but I am a little lost as to why.
If anyone can see why or give me any tips on how to go about getting the tabs to display panes I would be very grateful
Thanks, Amy
Craig Wood
Ranch Hand

Joined: Jan 14, 2004
Posts: 1535
Amy Phillips
Ranch Hand

Joined: Apr 02, 2003
Posts: 280
Thanks Craig
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JTabbedPane and Instances
 
Similar Threads
Problems using JTabbedPane In a GUI application
Design / Development Question
Haw to separate a frame to diferent fraims
Swing ChangeEvent occur twice
JTabbedPane pblm.