Selecting a tab pane


If you click on a tab in a JTabPanel container, the container itself is selected and not the associated tab pane.
You can get yourself into a lot trouble (or at least confusion) if you don't notice that it's the parent JTab panel that is selected and not the pane that you thought you were selecting :)

Currently it is a two step process to select a tab pane, which is not very efficient (select tab, click in the pane).



Please sign in to leave a comment.