Re: Negative MouseEvent
- From: "Monique Y. Mudama" <spam@xxxxxxxxxxxxxxxx>
- Date: Thu, 16 Feb 2006 10:43:41 -0700
On 2006-02-16, Mike penned:
But there is a method, translate(), that can change the origin to
some other point. Is it possible that your code does a translate()?
That could explain your results.
My code does not use translate at any point. If translate is used it
is done within AWT. But the thing is that im not doing anything to
change the result. It's the point directly from the event thats
negative. I strongly suspect its a bug since java 1.1 is very buggy.
Its no problem fixing it. I just make sure to check for negative
values. But since in my mind it shouldnt be possible to get a
negative value from mousePressed i think its a bug.
Having to use 1.1 is like having to code with your hands tied behind
your back.
--
monique
Ask smart questions, get good answers:
http://www.catb.org/~esr/faqs/smart-questions.html
.
- Follow-Ups:
- Re: Negative MouseEvent
- From: Mike
- Re: Negative MouseEvent
- References:
- Negative MouseEvent
- From: Grethe
- Re: Negative MouseEvent
- From: Rhino
- Re: Negative MouseEvent
- From: Mike
- Negative MouseEvent
- Prev by Date: how to place the the exec file in system tray-windows..
- Next by Date: Re: N00b: Non-static method cannot be referenced from a static context
- Previous by thread: Re: Negative MouseEvent
- Next by thread: Re: Negative MouseEvent
- Index(es):
Relevant Pages
|