Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package trianglemain;
- import java.awt.*;
- import java.awt.event.*;
- class myListener implements WindowListener, ActionListener, MouseListener, MouseMotionListener {
- TriangleGr f;
- myListener(TriangleGr f) {
- this.f = f;
- }
- public void windowClosing(WindowEvent ev) {
- System.exit(0);
- }
- public void windowActivated(WindowEvent ev) {
- }
- public void windowClosed(WindowEvent ev) {
- }
- public void windowDeactivated(WindowEvent ev) {
- }
- public void windowDeiconified(WindowEvent ev) {
- }
- public void windowIconified(WindowEvent ev) {
- }
- public void windowOpened(WindowEvent ev) {
- }
- public void actionPerformed(ActionEvent ae) {
- }
- public void mouseEntered(MouseEvent me) {
- }
- public void mouseClicked(MouseEvent me) {
- }
- public void mousePressed(MouseEvent me) {
- }
- public void mouseReleased(MouseEvent me) {
- }
- public void mouseExited(MouseEvent me) {
- }
- public void mouseMoved(MouseEvent me) {
- }
- public void mouseDragged(MouseEvent me) {
- }
- }
- public class TriangleGr extends Frame{
- Panel p, list,work,meth,paint;
- Button DOIT;
- Triangle[]all;
- TextField a,b,c,name;
- Label aa,bb,cc,name1;
- TextField f1,f2,f3,f4,newname;
- Label and,and1,newname1;
- List l;
- TriangleGr(String s){
- super(s);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment