public void mouseEntered(MouseEvent e)
 {
  if(e.getSource() == "빨강")
  {
   source.setBackground(new Color(255,0,0));
  }
  if(e.getSource() == "녹색")
  {
   source.setBackground(new Color(0,255,0));
  }
  if(e.getSource() == "파랑")
  {
   source.setBackground(new Color(0,0,255));
  }
 }
여기서 "빨강" "녹색" 이런건 label에 들어있는 text내용인데 라벨인식이 안되 문제해결도움!