Method getSelectedIndex()
Return type: int
Member of: javax.swing.JTabbedPane
[api documentation ] [ main menu]

Examples of how the element is used (one line per example):
[add your own example]

1 return tabbedPane.getSelectedIndex() == 0;
2 return tabbedPane.getTitleAt(tabbedPane.getSelectedIndex());
3 int tab = getSelectedIndex();
4 if (ConfigManager.showNSWindow && tblp.tabbedPane.getSelectedIndex()==2){//only update if visible (increases performances)
5 if (tabbedPane.getSelectedIndex()==2){
6 int tab = getSelectedIndex();
7 return helpTopic[this.getSelectedIndex()];
8 int n=getTabs().getSelectedIndex();
9 index = tabbedPane.getSelectedIndex();
10 return m_curWinTab.getSelectedIndex() == 0;
11 int index = tabProps.getSelectedIndex();
12 int tab = _tabs.getSelectedIndex();
13 return tabbedPane.getTitleAt(tabbedPane.getSelectedIndex());
14 int lIndex = ltabPane.getSelectedIndex();
15 int index = panel.getSelectedIndex();
16 jTabbedPane1.getTitleAt(jTabbedPane1.getSelectedIndex());
17 rightTabPane.setBackgroundAt(rightTabPane.getSelectedIndex(), Color.gray);
18 int curTab = tabPanel.getSelectedIndex();
19 result.put(SELECTED_PAGE_DPROP, tb.getTitleAt(tb.getSelectedIndex()));
20 String.valueOf(jTabbedPane1.getSelectedIndex()));
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.