this.addMouseListener(new MouseAdapter()
      {
          public void mouseClicked(MouseEvent e){
              point.setText("X:"+e.getX() + "Y:" + e.getY());
              int ImgRGB = ((BufferedImage) image).getRGB(e.getX(), e.getY()); // 이미지 좌표별 RGB값 추출
              int red = (ImgRGB & 0x00FF0000) >> 16;
              // 2^8으로 구성되어있는데, RGB로 구성있기 때문에 16만큼 쉬프트하면 RED
              // 8만큼 쉬프트 하면 G
              // 쉬프트를 하지 않으면 B 값을 추출할 수 있습니다.
              // [R=2^8] [B=2^8] [G]
              int green = (ImgRGB & 0x0000FF00) >> 8;
              int blue = (ImgRGB & 0x000000FF);
              point.setText("r: "+red+" ,g: "+green+" , b: "+blue);
          }

        private int getRGB(int x, int y) {
            // TODO Auto-generated method stub
            return 0;
        }
      }
      );

이 시발; 

int ImgRGB = ((BufferedImage) image).getRGB(e.getX(), e.getY()); 

이부분에 ((BufferedImage) image) 이부분만 쳐 바꾸면 될거같은데 시발 시발 시발 어제부터 진도가 안나가 진심 ㅠㅠㅠ인터넷에 다 지랄같은 글 뿐이야 왜 ㅅㅄㅄㅄㅄㅄㅄㅄㅄㅄㅄㅄㅄㅂ 3일동안 집밖을 못나갔네

ㅜㅜㅠㅠㅜㅠㅜㅠㅜㅠ