Re: Negative MouseEvent



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
.



Relevant Pages

  • Re: Python from Wise Guys Viewpoint
    ... > have silently corrected this bug. ... type is given by a limited language describing such classes. ... or they translate to similar dynamic ... I would debate both points, but this is about static typing, not about ...
    (comp.lang.python)
  • Re: Python from Wise Guys Viewpoint
    ... > have silently corrected this bug. ... type is given by a limited language describing such classes. ... or they translate to similar dynamic ... I would debate both points, but this is about static typing, not about ...
    (comp.lang.lisp)
  • Unexpected behaviour with HTMLParser...
    ... HTMLParser is behaving in, what I find to be, strange ways and I would ... it doesn't appear to translate HTML escape characters. ... Is it a bug? ... so that it may successively avoid those translations. ...
    (comp.lang.python)
  • Re: Negative MouseEvent
    ... My code does not use translate at any point. ... suspect its a bug since java 1.1 is very buggy. ... shouldnt be possible to get a negative value from mousePressed i think its a ... Mike ...
    (comp.lang.java.help)
  • Re: Eleventh day, eleventh month, eleventh hour
    ... Just something to bear in mind in these troubled times. ... bar here in Les Vans to translate these lines: ... All dead now. ... So far, the arseholes are winning, but it's ...
    (sci.military.naval)