jtabbedpane

JTabbedPane indent

When using a JTabbedPane, how do you indent the tabs? Swing default output: ------- --------- ------ | A | | B | | C | ------------------------------ | | | | | | | | | | Desired indented o...

How can I use TabbedPane tab changes to diplay different Panels in an Applet built in NetBeans IDE?

I'm building a Java Applet in NetBeans that has a TabbedPane on the bottom of the applet and a regular Panel on the top. I would like the top Panel to switch depending on which tab is selected on the bottom. (I would attach a screenshot to clarify, but being new here it isn't allowed.) A Button has ActionPerformed, but a TabbedPane does...