1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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