hi,
i have an array of JTextPane's.
console 0 uses array[0] jtextpane to see their chat.
console 1 uses array[1] 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[1] , 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[1] it would continue to even though console 1 is also now displaying array[1].
can this be done?
Mike