kirillcool.. not being obtuse. When I refer to a shape I mean the  
implementations of Shape... not the interface.. just talking generically I am 
not looking to put model info into the view.

But still,. my mistake ! Implementations of Rectangle don't have this problem, 
actually their contains() and intersects() methods work if you don't try to set 
their position by

rectangle.getBounds().setLocation(shapeLocation) which doesn't work

but use

rectangle.setLocation(shapeLocation)


which is where my misunderstanding started from, also on this post-
http://forums.java.net/jive/thread.jspa?messageID=228037&#228037

Rectangle and other Shape implementations will draw at the location specified 
if you do as above. So also with the other implementations of Shape.  So 
actually, I think, the whole problem goes away... Shapes don't have the 
problems I thought they did.

Well, there you go! I was wrong - woo hoo!
[Message sent by forum member 'swv' (swv)]

http://forums.java.net/jive/thread.jspa?messageID=228038

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to