title: Detect mouse hover on Graphics2D string
body: <p>Is there any way to set color of a Graphics 2D string when the mouse hover on it?</p>
  
  <p>Here is my relevant code so far:</p>
  
  <pre><code>@Override
  public void paint(Graphics g) {
      super.paint(g);
      Graphics2D g2d = (Graphics2D) g;
  
      g2d.setColor(Color.white);
  
      g2d.setFont(new Font("Arial", Font.BOLD, 16));
      g2d.drawString("EXIT", 650, 50);
  }
  
  MouseListener ml=new MouseListener() {
  
          @Override
          public void mouseClicked(MouseEvent e) {
          }
  
          @Override
          public void mousePressed(MouseEvent e) {
          }
  
          @Override
          public void mouseReleased(MouseEvent e) {
          }
  
          @Override
          public void mouseEntered(MouseEvent e) {
          //hover
          //should do something here...        
          }
  
          @Override
          public void mouseExited(MouseEvent e) {
  
          }
      };
  </code></pre>