Arkanium77

Untitled

Nov 28th, 2016
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 1.45 KB | None | 0 0
  1. package trianglemain;
  2. import java.awt.*;
  3. import java.awt.event.*;
  4.  
  5. class myListener implements WindowListener, ActionListener, MouseListener, MouseMotionListener {
  6.  
  7.     TriangleGr f;
  8.  
  9.     myListener(TriangleGr f) {
  10.         this.f = f;
  11.     }
  12.  
  13.     public void windowClosing(WindowEvent ev) {
  14.         System.exit(0);
  15.     }
  16.  
  17.     public void windowActivated(WindowEvent ev) {
  18.     }
  19.  
  20.     public void windowClosed(WindowEvent ev) {
  21.     }
  22.  
  23.     public void windowDeactivated(WindowEvent ev) {
  24.     }
  25.  
  26.     public void windowDeiconified(WindowEvent ev) {
  27.     }
  28.  
  29.     public void windowIconified(WindowEvent ev) {
  30.     }
  31.  
  32.     public void windowOpened(WindowEvent ev) {
  33.     }
  34.  
  35.     public void actionPerformed(ActionEvent ae) {
  36.  
  37.     }
  38.  
  39.     public void mouseEntered(MouseEvent me) {
  40.     }
  41.  
  42.     public void mouseClicked(MouseEvent me) {
  43.     }
  44.  
  45.     public void mousePressed(MouseEvent me) {
  46.  
  47.     }
  48.  
  49.     public void mouseReleased(MouseEvent me) {
  50.     }
  51.  
  52.     public void mouseExited(MouseEvent me) {
  53.     }
  54.  
  55.     public void mouseMoved(MouseEvent me) {
  56.     }
  57.  
  58.     public void mouseDragged(MouseEvent me) {
  59.        
  60.         }
  61.     }
  62.  
  63. public class TriangleGr extends Frame{
  64.     Panel p, list,work,meth,paint;
  65.     Button DOIT;
  66.     Triangle[]all;
  67.     TextField a,b,c,name;
  68.     Label aa,bb,cc,name1;
  69.     TextField f1,f2,f3,f4,newname;
  70.     Label and,and1,newname1;
  71.     List l;
  72.    
  73.     TriangleGr(String s){
  74.         super(s);
  75.        
  76.     }
  77. }
Advertisement
Add Comment
Please, Sign In to add comment