how to change the color of swing button style in java code example Example: change button color java swing botton.SetBackground(Color.red);