So I have 3 collapsable JXTaskPanes and what I want to do is only show one task pane at a time i.e. if a user clicks task pane #1, #2 and #3 are collapsed and #1 is expanded etc.
I cant add an actionlistener to the JXTaskPanes as it does not exist. I tried mouse listeners but it's quite buggy (doesn't always work: sometimes it wont one of the 2)
Basically, I need a way to, for example, collapse task panes #2 and #3 when #1 is expanded.
Any Ideas?