posted 23 years ago
I use a panel on which i add mouselistener so i can recive evnt of mouse over.
i made a pi-chart on panel using drawArc method of Graphics.
I draw each sector of pi chart with different color
(by changing the drawing color).
means i get a chart consist on 4 sector each sector shows different color
when mouse move over panel or pichart i recieve event
but i want if mouse is over specific region say red color sector
i get know that mouse is over red region?
how is possible?
please rectify my problem as soon as possibel
Thanx in advance