BP Forums
JFrames and JTabbedPanes - Printable Version

+- BP Forums (https://bpforums.info)
+-- Forum: Archived Forums (https://bpforums.info/forumdisplay.php?fid=55)
+--- Forum: Archived Forums (https://bpforums.info/forumdisplay.php?fid=56)
+---- Forum: Java (https://bpforums.info/forumdisplay.php?fid=19)
+---- Thread: JFrames and JTabbedPanes (/showthread.php?tid=726)



JFrames and JTabbedPanes - Derek275 - 01-04-2013

What I am trying to do is make a program that, when a person clicks a button, it'll add a tab page to the JTabbedPane, and add another JFrame to the tab page. I think I know how to do it, by using
Code:
JTabbedPane.addTab(otherClassWithJFrame);

If this won't work, can anyone tell me otherwise, and how would I make it where 'otherClassWithJFrame' had no title bar? Any help will be greatly appreciated. Thank you and have an amazing day!