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:
Carlos Ruiz 2007-04-17 18:14:00 +00:00
parent e034e5ff52
commit 959e6e9f03
1 changed files with 7 additions and 0 deletions

View File

@ -2275,6 +2275,13 @@ public final class APanel extends CPanel
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.
* @return name of selected tab