Results 1 to 7 of 7
  1. #1
    Join Date
    Feb 2011
    Posts
    14
    Rep Power
    0

    Smile how to move an image automatically without using mouse

    hello ..
    im doing a project where i need to move an image automatically to a certain point without any mouse movement.... i no the location(point) where the image has been fixed...
    plz help me how to show its movement ...

    thanks...

  2. #2
    Junky's Avatar
    Junky is offline Grand Poobah
    Join Date
    Jan 2011
    Location
    Dystopia
    Posts
    3,798
    Rep Power
    7

    Default

    Mind control ;)

    How about a loop that updates the coordinates. Also use a reasonable call to Thread.sleep otherwise it will move quicker than the eye can see.

  3. #3
    Join Date
    Feb 2011
    Posts
    14
    Rep Power
    0

    Default

    il try now...

    thank u...

  4. #4
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,242
    Rep Power
    19

  5. #5
    Join Date
    Feb 2011
    Posts
    14
    Rep Power
    0

    Default

    sorry....i culd not understand..wat is EDT?...

    thanks...

  6. #6
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,242
    Rep Power
    19

    Default

    Too much effort to click on the link I provided, huh? You'll go far.

    db

  7. #7
    Join Date
    Feb 2011
    Posts
    14
    Rep Power
    0

    Default

    im sorry...i didnt c the link.. its my fault...thanks for ur help..

Similar Threads

  1. how to move this image
    By melonka.sg in forum New To Java
    Replies: 1
    Last Post: 01-08-2011, 04:53 PM
  2. To make image move
    By mneskovic in forum New To Java
    Replies: 4
    Last Post: 05-08-2010, 08:23 PM
  3. Replies: 1
    Last Post: 10-30-2009, 06:47 AM
  4. Mouse Event + Image Thresholding
    By ojmayolebron in forum AWT / Swing
    Replies: 0
    Last Post: 03-27-2009, 12:17 AM
  5. Replies: 5
    Last Post: 11-02-2008, 06:41 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •