32 lines
688 B
Java
32 lines
688 B
Java
import javax.swing.*;
|
|
import java.awt.*;
|
|
import java.awt.event.*;
|
|
|
|
public class ActionUtilisateur implements MouseListener{
|
|
/*public JLabel musique;
|
|
|
|
public ActionUtilisateur(JLabel musique){
|
|
this.musique = musique;
|
|
}*/
|
|
@Override
|
|
public void mouseClicked(MouseEvent evenement){
|
|
System.out.println("clic");
|
|
}
|
|
@Override
|
|
public void mouseEntered(MouseEvent evenement){
|
|
System.out.println("entré");
|
|
}
|
|
@Override
|
|
public void mouseExited(MouseEvent evenement){
|
|
System.out.println("sortis");
|
|
}
|
|
@Override
|
|
public void mousePressed(MouseEvent evenement){
|
|
}
|
|
@Override
|
|
public void mouseReleased(MouseEvent evenement){
|
|
}
|
|
}
|
|
|
|
|