DEV_BUT1/DEV2.1/CM1 (copy 1)/Exercice4/Debut3.java
2023-04-04 14:03:16 +02:00

23 lines
621 B
Java

//MELIANI SAMY (TP1)
import java.awt.*;
import javax.swing.*;
import java.awt.event.*;
public class Debut3 implements MouseListener{
private int rayon;
private Debut2 ref;
public Debut3(Debut2 appel){
super();
this.rayon=60;
this.ref=appel;
}
public void mouseEntered(MouseEvent evenement){}
public void mousePressed(MouseEvent evenement){}
public void mouseReleased(MouseEvent evenement){}
public void mouseExited(MouseEvent evenement){}
public void mouseClicked(MouseEvent evenement){
this.rayon+=20;
ref.getrayon(this.rayon);
}
}