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");
    }
}
