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