From 959e6e9f035f5238db0d0970bb836efbc24eff7d Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Tue, 17 Apr 2007 18:14:00 +0000 Subject: [PATCH] Complete submission of Access to a tab in a window programmatically http://sourceforge.net/forum/forum.php?thread_id=1664032&forum_id=610548 --- client/src/org/compiere/apps/APanel.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/client/src/org/compiere/apps/APanel.java b/client/src/org/compiere/apps/APanel.java index 96d96f3cd5..989583a1a9 100644 --- a/client/src/org/compiere/apps/APanel.java +++ b/client/src/org/compiere/apps/APanel.java @@ -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