i have an imageicon that is in a jlabel im using eclipse i have a background that has a couple of colors and i want to check if the imageicon named player is touching the color black. i have a flight sim game and i want to set the area of the ground so that i can make the plane crash when it touches the color black, either tell me how to do that or tell me how to set the screen dimensions of the screen while the game is on.