home *** CD-ROM | disk | FTP | other *** search
/ PC World 1999 November / PCWorld_1999-11_cd.bin / Software / Servis / JDE / fj2.exe / _SETUP.1 / MouseableFrame.java < prev    next >
Text File  |  1998-09-30  |  622b  |  22 lines

  1. import java.awt.*;
  2. import java.awt.event.*;
  3.  
  4. /* ***************************************************************
  5. ** This is a simple class to let you handle mouse events in a Frame
  6. *******************************************************************
  7. */
  8.  
  9.  
  10. public class MouseableFrame extends Frame implements MouseListener
  11. {
  12.     public void mouseClicked(MouseEvent e){;}
  13.     public void mouseEntered(MouseEvent e){;}
  14.     public void mouseExited(MouseEvent e){;}
  15.     public void mousePressed(MouseEvent e){;}
  16.     public void mouseReleased(MouseEvent e){;}
  17.  
  18.     public MouseableFrame()
  19.     {
  20.         this.addMouseListener(this);
  21.     }
  22. }