Getting the colour of where you have clicked on a JPanel?
- by Alex
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.