Alright, yet another question. Below I have a sample of a JTabbedPane I've been working on.
Every time the user clicks the sword icon it counts up.
I used this code to make it update the count...