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

This note was uploaded on 04/13/2010 for the course SYSC 2101 taught by Professor Babac during the Winter '10 term at Carleton CA.

Ask a homework question - tutors are online