I am making an Application for a dentist in Java using Swing technology. In my App I want to measure the area of ruff shape,free hand drawn shape,and free hand drawn circle. I also put my teeth image . In this image I have drawn one free hand shape with yellow color and I want to measure area of that circle in java. So, how can I do that? If anyone has an idea about that then please share with me.