change button color java swing

Java
botton.SetBackground(Color.red);
Source

Also in Java: