JTabbedPane stateChanged bug?
When using tabbedpane.remove() on the current tab it may have 2 different results depending on where the tab was located. If the tab was the last one the stateChanged is triggered when the previous tab is autofocused, but if its not the last tab it is not triggered even though a new tab is focued. Is there any reason for this or is it a bug?

