Reputation: 65
// plain green button
flatButton.setBorderPainted (false);
flatButton.setBackground (Color.green);
flatButton.setSize (100, 75);
While holding the button, its color change to blue. How to make keep green color during holding down?
Upvotes: 0
Views: 45