[4729] in java-interest
Re: How can I use mouseDown method?
daemon@ATHENA.MIT.EDU (Sami Shaio)
Thu Jan 11 17:37:59 1996
Date: Thu, 11 Jan 1996 13:11:05 -0800
From: Sami.Shaio@Eng.Sun.COM (Sami Shaio)
To: java-interest@java.Eng.Sun.COM, QFH03401@niftyserve.or.jp
Your mouseDown method has the wrong signature. It should be:
public boolean mouseDown(Event e, int x, int y) {
addItem("Click!"...");
return false; // or true if you want to consume the event.
}
--sami
Here is what I added to Simpel.java.
|
|public void mouseDown (int x, int y) {
| addItem("Click!....");
| }
|
|Chris Kato.
|-
|This message was sent to the java-interest mailing list
|Info: send 'help' to java-interest-request@java.sun.com
|
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com