RemoveAll « JTabbedPane « Java Swing Q&A





1. After calling JTabbedPane.removeAll(), the JTabbedPane still has x number of tabs?    stackoverflow.com

In my JTabbedPane, I am removing tabs in 2 different ways:

tabbedPane.remove(index)
and
tabbedPane.removeAll()
Both work fine in terms of closing the tabs. However, I have a change listener on my TabbedPane that calls ...