There is a Tray object, with methods listed below. Write a program
that displays the tray on the screen, starting at 100, 100. If the
user clicks on the tray, it should turn Green. If the user clicks
outside the tray, it should turn red.
class Tray {
Tray(Color startColor, int startX,
int startY);
public boolean inside(int testX,
int testY);
public void setColor(Color newColor);
}