Here you can find the source of getSubImage(BufferedImage image, int x, int y, int w, int h)
public static BufferedImage getSubImage(BufferedImage image, int x, int y, int w, int h)
//package com.java2s; //License from project: Apache License import java.awt.image.BufferedImage; public class Main { public static BufferedImage getSubImage(BufferedImage image, int x, int y, int w, int h) { return image.getSubimage(x, y, w, h); }/*from ww w.java2s.c o m*/ }