Frage

Ist es möglich, eine Action auf einer Registerkarte in Schwung zu bringen? Wenn es Sie bitte ein kleines Beispiel posten könnte?

War es hilfreich?

Lösung

The only way to do that is to add a javax.swing.event.ChangeListener to the JTabbedPane itself. You might have to keep track of the selected tab vs. previously selected tab depending on what you are doing with the state change...

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top