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 Active Member

    Joined:
    Nov 24, 2009
    Messages:
    387
    Likes Received:
    90
    Trophy Points:
    28
  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

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice