[Solved] How to get back the original look and feel color of a button after changing its color? [closed]

[ad_1]

Color oldColor = myButton.getBackground();
myButton.setBackground(Color.RED);
// ... do stuff
myButton.setBackground(oldColor);

2

[ad_2]

solved How to get back the original look and feel color of a button after changing its color? [closed]