title: I don't want to change color of JButton when pressed
body: <pre><code>Color newColor = new Color(197,222,90);
  JButton newButton;
  newButton = new JButton(icon);
  newButton.setBacgroundColor(newColor);
  </code></pre>
  <p>When it is pressed it changes color. How can I keep it from changing color? I have multiple buttons, so if there is solution in one or two rows please help me, and keep in mind that I'm beginner, writing some huge classes won't help me, because I have multiple buttons with different names to be affected with this.</p>
  <p>EDIT: Solution in one line is:</p>
  <pre><code> UIManager.put(&quot;Button.select&quot;, newColor);
  </code></pre>
  <p>But it changes all button colors but I need another to have different a color.</p>
  <p>EDIT2: After some research I figured out there isn't an easy solution (but it should be). How I see it I have 2 solutions, 1. is to break buttons to separate classes and set UIManager for them, and second is to make custom buttons. It is just too much work for button.</p>