Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Java (http://www.go4expert.com/forums/java/)
-   -   method translate() (http://www.go4expert.com/forums/method-translate-t24154/)

Hlivelong 12Dec2010 15:56

method translate()
 
hi guys

I got a simple quesion here. Hope some of you can help.

Is method translate() the best method to be used to in mouseDrag event? If not , what is the most important thing I should do to make the mouse drag something on the panel to move?

Thanks heaps

virxen 12Dec2010 16:33

Re: method translate()
 
check here
http://www.javaworld.com/javaworld/j...dragndrop.html

Hlivelong 13Dec2010 06:06

Re: method translate()
 
um.. too advanced. It doesn't mention the use of method translate().

I am wondering if updateLocation method has somthing better to do with moving a shape?

Can someone explain?

Thanks heaps


All times are GMT +5.5. The time now is 07:50.