Why would my buttons paint differently on different systems?
Posted on 2005-05-12
Okay, time for another Java newbie question ....
I've got two computers that are quite similar in their setup. Both are running Windows XP Pro SP2. Both of them have the same basic graphics setup (As far as the Windows themes and graphics/performance options). On both, I'm using the same version of Eclipse (3.0.2) with the jdk 1.5.0_03. The odd thing is, when I run a Java app on one system, it will render the buttons with a 'blue to silver to blue' vertical color fade across the buttons. On the other system, it looks more like a standard grey button face. What am I missing? Its the exact same code on both systems.
public class AppMain
public static void main(String args)
JFrame win = new JFrame("Yo");
JSplitPane splitPane = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT);
So my "Left" and "Right" buttons look different on the two systems. I'm really want to try and garuntee the color faded ones are used, but I have no idea why its rendering like that on one system and not the other. Eh?
Starting value @ 75pts.