title: Mouse event e (Jpanel) Java help
body: <p>I want a MouseListener for a JPanel inside a JTabbedPane in a JFrame...<br>
  I want it to print something, whenever the mouse is clicked/pressed.<br>
  I've tried looking around but when I try and implement it I got an error on this line:</p>
  
  <pre><code>public class GUI implements ActionListener, MouseListener
  </code></pre>
  
  <p>And this is the error:</p>
  
  <blockquote>
    <p><code>GUI</code> is not abstract and does not
    override abstract method <code>mouseExited(java.awt.event.MouseEvent)</code> in <code>java.awt.event.MouseListener</code></p>
  </blockquote>
  
  <p>What does that mean?</p>
  
  <p>P.S (the JPanel/tab bit I want it in is called: displayMainPanel)<br>
  Thanks a lot.</p>