1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

method translate()

Discussion in 'Java' started by Hlivelong, Dec 12, 2010.

  1. Hlivelong

    Hlivelong New Member

    Joined:
    Dec 12, 2010
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    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
     
  2. virxen

    virxen New Member

    Joined:
    Nov 24, 2009
    Messages:
    387
    Likes Received:
    90
    Trophy Points:
    0
  3. Hlivelong

    Hlivelong New Member

    Joined:
    Dec 12, 2010
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    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
     

Share This Page