Complete submission of Access to a tab in a window programmatically
http://sourceforge.net/forum/forum.php?thread_id=1664032&forum_id=610548
This commit is contained in:
parent
e034e5ff52
commit
959e6e9f03
|
|
@ -2275,6 +2275,13 @@ public final class APanel extends CPanel
|
||||||
return m_curWinTab.getSelectedIndex();
|
return m_curWinTab.getSelectedIndex();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Set the tab index of the panels JTabbedPane.
|
||||||
|
*/
|
||||||
|
public void setSelectedTabIndex(int index) {
|
||||||
|
m_curWinTab.setSelectedIndex(index);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the name of the selected tab in the panels JTabbedPane.
|
* Get the name of the selected tab in the panels JTabbedPane.
|
||||||
* @return name of selected tab
|
* @return name of selected tab
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue