Getting the colour of where you have clicked on a JPanel?

Posted by Alex on Stack Overflow See other posts from Stack Overflow or by Alex
Published on 2010-04-12T15:47:50Z Indexed on 2010/04/12 16:22 UTC
Read the original article Hit count: 335

Filed under:
|
|
|
|

I only want a method to activate if the pixel that is clicked is white. How would I implement this? Trying to look for a method that returns the colour at a coord, but I can't find one.

© Stack Overflow or respective owner

Related posts about java

Related posts about jpanel