I have Frame with JButtons and sometimes when I run the program is has the nice defult look and feel. but for some reseason when I run it the buttons and background have the grey Windows defult colour instead of the nice blue Java color, This also happens to the framebackground also.
has anyone else encountered this, or have any idea what could cause this?
Jesus lives
Ilja Preuss
author
Sheriff
Joined: Jul 11, 2001
Posts: 14112
posted
0
Perhaps you are mixing Swing and AWT components?
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus