title: How to Enlarge JButton Image when MouseOver "Mouse hovers over it"
body: <p>Pretty much my "Start" button wont enlarge when I hover over it.
  Here is my code below any Idea on why it wont? and if could show me an example code that would really help! :)"i'm still pretty new to java too" so thats why example code would help me better thanks in advance!.</p>
  
  <pre><code>public class Window extends JFrame implements MouseListener {
  
  private static final long serialVersionUID = 1L;
  private static JButton button;
  private static JFrame frame = new JFrame("Scroller Runner v0.2.0");
  
  public static void main(String[] args) throws IOException {
      new Window();
      JButton button = new JButton();
      JTextPane TEXT = new JTextPane();
      BufferedImage buttonIcon;
      button = new JButton(new ImageIcon("C:\\Users\\GOULDEN\\Desktop\\MENU_START.png"));
      button.setBorder(BorderFactory.createEmptyBorder());
      button.setContentAreaFilled(false);
      button.setBounds(490, 250, 300, 75);
      button.setCursor(new Cursor(Cursor.HAND_CURSOR));
      button.addMouseListener(null);
  
      frame.setSize(1280, 720);
      frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
      frame.setLocationRelativeTo(null);
      frame.setVisible(true);
      frame.setResizable(false);
      frame.setContentPane(new JLabel(new ImageIcon(ImageIO.read(new File("C:\\Users\\GOULDEN\\Desktop\\MAIN_MENU.png")))));
      frame.pack();
      frame.add(button);
      frame.setVisible(true);
  }@Override
  public void mouseEntered(MouseEvent e) {
      button.setBounds(550, 300, 300, 75);
      this.repaint();
  }
  </code></pre>