All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jm.gui.show.NoteGraphic Maven / Gradle / Ivy

The newest version!
package jm.gui.show;

import java.awt.*;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;

public class NoteGraphic extends Component implements MouseListener {
    NoteGraphic() {
        super();
        this.addMouseListener(this);
    }

    public void mousePressed(MouseEvent me) {
        System.out.println("X is: " + me.getX());
    }

    public void mouseClicked(MouseEvent me) {
    }

    public void mouseEntered(MouseEvent me) {
    }

    public void mouseExited(MouseEvent me) {
    }

    public void mouseReleased(MouseEvent me) {
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy