why the lookandfeel change color randomly?
why the lookandfeel change color randomly?after my API moves JDK1.4 to 1.5, the problem appeared.the Max/Min/Close button of JFrame also change to other style.
[180 byte] By [
thana] at [2007-11-27 6:35:29]

# 1
Are you using the default (Metal) LAF? If so, then indeed in JDK 5.0 it has been "upgraded" with the new colors (Ocean theme). In addition, you can look at http://javootoo.com for an extensive list of third-party look and feels.
# 2
yes, I have reset the Theme of MetalLookAndFeel.setCurrentTheme() to myself, but sometime it looks useless. It will use oceanTheme or myTheme randomly.
Then I add a loop to check the current theme till it use mytheme.
The new problem the min/max/close button changed randomly, though that is much less frequent.
thana at 2007-7-12 18:02:34 >
