import java.awt.*;
import java.awt.event.*;
import java.applet.*;
public class Moumot2 extends Applet implements MouseListener, MouseMotionListener {
public void init(){
addMouseMotionListener(this );
addMouseListener( this );
}
public void mouseDragged(MouseEvent e)
{
showStatus("Mouse Dragged");
}
public void mouseMoved( MouseEvent event )
{
showStatus("Mouse Moved");
}
public void mouseClicked( MouseEvent event )
{
showStatus("Mouse Clicked");
}
public void mouseReleased( MouseEvent event )
{
showStatus("Mouse Released");
}
public void mouseEntered( MouseEvent event )
{
showStatus("Mouse Entered");
}
public void mouseExited( MouseEvent event )
{
showStatus("Mouse Exited");
}
public void mousePressed( MouseEvent event )
{
showStatus("Mouse Exited");
}
}