So here's my problem. I have developed a plugin for intellij which contains a tool window, and a part of it contains a tabbed pane with a JXTreeTable like this
Looks great and works as expected until I start clicking on the rows. I'll explain the issue through screenshots.
- Move mouse pointer to next row
- Select Next row
- Repeat above procedure for the next couple of rows and I end with this!
- Now If I move my mouse pointer back up those again, The colors come back like magic!
Continue moving mouse back up along the rows..
- Also at any point if my mouse pointer leaves the column..The view is back to normal again (except for the selected row of course)
My Look and Feel is
IntelliJ Dark Look and Feel - com.intellij.ide.ui.laf.IntelliJLaf , which I found out using
If I change my look and feel programmatically to something else, This issue disappears. But i'm not in a position to alter the default look and feel so I have to fix this issue (or bug?).
I've used a hack to apply a different look and feel just for my JXTreeTable view component, and it worked great until.. I open another project on a new window (this creates a new instance of my tool window for the new project) and the hack this time around works against me, setting the look and feel properly for the new project, but resets the look and feel back to default for the first project instance.
Oh and i'm using the
DefaultTreeCellRenderer for my treetable.
************** EDIT ************
The Look and Feel that's causing the above explained issue is