• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to manipulate the image

 
Anshuman Chandra
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
i am able to display image using open file funciton, and i am able to draw a circle. My problem is i want get that circle on the top of image.
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How are you trying to draw the circle on top of the image? How is it not working?
 
Anshuman Chandra
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My task is to display small circle in google map image. i am able to get image in contentpane and i am able to draw square in contentpane, but i want to draw small circles on google map image. Can you please tell me how to do it, i am attaching the file i want it please find the doccument attached...

Thanking you,
asoorya
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
> i am able to get image in contentpane

whatever component you're using to display the image
JLabel/setIcon, JPanel/drawImage etc
override paintComponent to draw your circle/s
graphics.drawOval(....)
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!