3 Replies Latest reply: Jan 6, 2005 5:59 AM by camickr RSS

    [JTabbedPane] get the tab index of a textfield

    807596
      Hello,

      I'm using a jTabbedPane to display data. On every tab I have several panels with JTextFields. I would like to know on wich index of the tabpane a textfield is located. So when a textfield is empty I can use tabpane.setSelectedIndex( i ) to set te focus to that tab.

      Enyone any tips?

      Greetings
      Hans