JiffOrange / macwidgets

1 stars 1 forks source link

SourceList doesn't repaint properly when not in focus. #34

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
If I create a JDialog and then drag that over a component with a
SourceList, the SourceList will only repaint the parts that were dragged
over. These parts are repainted from the light blue color to a light gray
(which I take is the out-of-focus color).

Likewise, say that I've gotten the SourceList in a state where it's all
painted in gray as it should be when it's out of focus. If I overlap the
JDialog over a part of the SourceList and then close it, it will only
repaint that overlapping part of the SourceList and restore it to the
original light blue color.

I've e-mailed you a screenshot of the first case in action.

Original issue reported on code.google.com by sten...@gmail.com on 6 Dec 2008 at 3:19

GoogleCodeExporter commented 9 years ago
I've update SourceListTreeUI such that it repaints itself when it's parent 
window's focus state changes.

Original comment by kenneth....@gmail.com on 6 Dec 2008 at 1:13

GoogleCodeExporter commented 9 years ago
I've updated SourceListTreeUI to use the new 
WindowUtils.installJComponentReapinterOnWindowFocusChanged 
method.

Original comment by kenneth....@gmail.com on 13 Dec 2008 at 12:55