23 lines
621 B
Java
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);
|
||
|
}
|
||
|
|
||
|
}
|