method translate()

Hlivelong's Avatar, Join Date: Dec 2010
Newbie Member
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
0
virxen's Avatar, Join Date: Nov 2009
Pro contributor
check here
http://www.javaworld.com/javaworld/j...dragndrop.html
0
Hlivelong's Avatar, Join Date: Dec 2010
Newbie Member
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