{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}


MagicButtonEvent - super(source this.x = x this.y = y...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
import java.util.EventObject; public class MagicButtonEvent extends EventObject{ private int x; private int y; private int value; p public MagicButtonEvent(Object source, int x, int y, int val) {
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: super(source); this.x = x; this.y = y; this.value = val; } public int getX() { return this.x; } public int getY() { return this.y; } public int getValue() { return this.value; } }...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online