get the location of a color on the screen
<p>in java, is there any way i can find the location of a color on the screen? so if i know what the color is i get get the current location of it?</p>

<p>i can use the robot class to get a specific color but i need to be able to locate the color on the screen where ever it is.</p>

<p>if this cannot be done with robot or anouther class, i would appresiate it if someone could point me in the right direction by telling me what i need to do. thanks</p>

<p>if so could anyone please help me with what api to use or how to do it?</p>
