i have an array of JTextPane's.
console 0 uses array jtextpane to see their chat.
console 1 uses array jtextpane etc.
up to them how many jtextpanes they use/consoles they create/open. they can move different chat channels to different consoles or have all channels go to one.
lets say the user has 3 consoles open, what i'd like is for a way to cycle through the chat windows ( jtextpanes) in a single console.
say they hit a button and console one now displays array , hit it again its on 2 hit it again its back on 0.
the other windows would not be effected. i.e. if console 2 was displaying array it would continue to even though console 1 is also now displaying array.
can this be done?