BUT2/DEV/DEV2.1/TP09_Evenement2/Q3_Rectangle/Action.java~

15 lines
333 B
Java
Raw Permalink Normal View History

2023-10-23 13:23:36 +02:00
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
public class Action implements MouseListener{
@Override
public void mousePressed(MouseEvent e){
System.out.println("mouseDragged");
}
@Override
public void mouseReleased(MouseEvent e){
System.out.println("mouseReleased");
}
}