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


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

2

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