Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
JFrames and JTabbedPanes
#1
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!


Forum Jump:


Users browsing this thread: 1 Guest(s)