JTabbedPane question

Hi everyone in the forum,i have a question, ia ma using a JTabbedPane with two tab panels, and i am trying to know which one is active but i do not know how (not isVisible() , getTabPlacement(), or any other i have tryed)If anyone could give me a hand?Many Thankx
[291 byte] By [patucosa] at [2007-10-3 3:46:07]
# 1
From the API docs, Component getSelectedComponent() Returns the currently selected component for this tabbedpane. int getSelectedIndex() Returns the currently selected index for this tabbedpane.
itchyscratchya at 2007-7-14 21:42:44 > top of Java-index,Desktop,Core GUI APIs...
# 2
getSelectedIndex()
Michael_Dunna at 2007-7-14 21:42:44 > top of Java-index,Desktop,Core GUI APIs...
# 3
Many thankx for the help :)
patucosa at 2007-7-14 21:42:44 > top of Java-index,Desktop,Core GUI APIs...