Results 1 to 12 of 12

Thread: [RESOLVED]Java draw circles on image

Threaded View

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Oct 2004
    Location
    youngstown, oh
    Posts
    202

    Resolved [RESOLVED]Java draw circles on image

    hello, i found the answer to my last post finally. now i have a new task to implement. I need to draw a circle or oval when a point on an image is clicked. For instance if you were to click on the eye of a person in a image in a jpanel, i need to draw a red circle of where i just clicked. i am researdhing and figured out this, and i can post more of my code when i have more time, for i am pressed right now...


    some thing laong the lines of...

    Code:
            setColor(red);
    	fillCircle(newX,newY, 20);

    my only question now si what does the 20 mean ?

    remind you i am very new to java, but i will sit down later with my manual to try to implement. I'm sure it would be more helpful if i posted my code, but If anyone knows of what along the lines I am trying to do you willingness to help would be appercaited thanks. justin
    Last edited by jlbovo; Nov 4th, 2006 at 11:18 AM.
    --thanks for the help.

Posting Permissions

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



Click Here to Expand Forum to Full Width