import java.awt.Component;
import javax.swing.Icon;
import javax.swing.JTabbedPane;
public class Main {
public static void main(String[] argv) throws Exception {
JTabbedPane pane = new JTabbedPane();
int count = pane.getTabCount();
for (int i = 0; i < count; i++) {
String label = pane.getTitleAt(i);
Icon icon = pane.getIconAt(i);
String tooltip = pane.getToolTipTextAt(i);
boolean enabled = pane.isEnabledAt(i);
int keycode = pane.getMnemonicAt(i);
Component comp = pane.getComponentAt(i);
}
}
}