Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2012
    Posts
    90
    Rep Power
    0

    Default how do I get a position of image.

    Hi,
    I have draw 104 cards images , now I want to get position of the cards that where image is draw,, please help.......
    I have tried as get the mouse click position and successfully drag images, so get clicked x and y coordinates but not the position of the card images.
    Like I have draw one images on 400,320 now I want to get this position after drop the image, and so if will get the position I will draw images again at this position.

  2. #2
    Join Date
    Apr 2012
    Posts
    90
    Rep Power
    0

    Default Re: how do I get a position of image.

    Now I have solve this, but another problem is raised.
    My question is
    I have drag one image now after this I want to drop is, after this this image will be drawing that I want, now my problem is when I drop the image any where it is fixed at the drop location, I want to shift this at another location or it will not show on the applet, how can I do please reply me...

Similar Threads

  1. Position of image
    By The original stinger in forum AWT / Swing
    Replies: 5
    Last Post: 05-10-2012, 10:57 PM
  2. Position of image
    By The original stinger in forum Java Applets
    Replies: 3
    Last Post: 05-10-2012, 10:28 PM
  3. Position of PdfPTable
    By Takashy in forum New To Java
    Replies: 1
    Last Post: 02-09-2011, 05:45 PM
  4. get position in string from caret position
    By helloworld111 in forum AWT / Swing
    Replies: 5
    Last Post: 02-19-2009, 02:36 AM
  5. Help with position in java
    By fernando in forum New To Java
    Replies: 1
    Last Post: 07-31-2007, 08:54 PM

Tags for this Thread

Posting Permissions

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