SwingLAF should use Swing colors rather than AWT colors
Closed this issue · 1 comments
stacktracer commented
SwingLookAndFeel should use Swing default colors (which are determined by Swing's current look-and-feel, and can be accessed through UIManager), rather than the AWT ones (static fields in SystemColor). E.g.:
map.put( FRAME_BACKGROUND_COLOR, fromColorAwt( UIManager.getColor( "Panel.background" ) ) );
instead of
map.put( FRAME_BACKGROUND_COLOR, fromColorAwt( SystemColor.window ) );
(Helpful for finding valid UIManager keys: http://nadeausoftware.com/node/85)
ulmangt commented
Looks like this has been fixed at some point since it was opened.