In my program, in order to let the user know there input was invalid, I change the background of the JTextField:
JTextField someField = new JTextField(); someField.setBackground(Color.RED);
Now I want to set it back to the default color, but I can't seem to find the right color. It's not Color.GREY or Color.LIGHT_GREY. It's not even SystemColor.control or SystemColor.window. Short of reinstantiating the JTextField, is there a way to revert to this default state?