method translate()

Newbie Member
12Dec2010,15:56   #1
Hlivelong's Avatar
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
Pro contributor
12Dec2010,16:33   #2
virxen's Avatar
check here
http://www.javaworld.com/javaworld/j...dragndrop.html
Newbie Member
13Dec2010,06:06   #3
Hlivelong's Avatar
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