Go Back   CodingForums.com > :: Server side development > Java and JSP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 10-17-2012, 11:39 AM   PM User | #1
nglwthnati2de
New to the CF scene

 
Join Date: Sep 2012
Posts: 5
Thanks: 2
Thanked 0 Times in 0 Posts
nglwthnati2de is an unknown quantity at this point
JFrame or Tabbed Pane

I have a project due this week that requires me to build an application with 7 different tabs. I am just not sure how to go about it.

I can either create a tabbed pane and program each tab with its contents
or
Should I create a J Frame and add tabs to it.

Which would be the more preferred method?
nglwthnati2de is offline   Reply With Quote
Old 10-17-2012, 02:54 PM   PM User | #2
Fou-Lu
God Emperor


 
Fou-Lu's Avatar
 
Join Date: Sep 2002
Location: Saskatoon, Saskatchewan
Posts: 15,635
Thanks: 4
Thanked 2,448 Times in 2,417 Posts
Fou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to all
JTabbedPane is a component, but not a frame. Use both, put the JTabbedPane onto a JFrame. JFrame isn't designed to take tabbed items, and although simulating it certainly is doable its a lot more work than just creating a tabbed pane.
Fou-Lu is offline   Reply With Quote
Reply

Bookmarks

Tags
jframes, jtabbed panes

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 12:08 AM.


Advertisement
Log in to turn off these ads.