Using mouse Motion Listener on JButton?
<p>hii
I have used Image as JButton for set in to panel 
but now i want to use mouse motion listener actions on that image
for that purpose what can i do</p>

<p>following is the code for image </p>

<pre><code>JButton buttonForPicture = new JButton();

    buttonForPicture.setBorder(new EmptyBorder(0, 0, 0, 0));
    buttonForPicture.setOpaque(false);
    buttonForPicture.setIcon(new ImageIcon("/Users/hussainalisyed/Documents/Images/pic9.jpg"));
    panel5.add(buttonForPicture,BorderLayout.CENTER);
</code></pre>

<p>is there any another way  to do that
or 
...</p>
