animation tiles

Hi, I am trying to animate a character in my game and am using a single Large image with lots of smaller animations on them…I have a problem with breaking the image up into there individual fames. Can anyone hlp me. ok thanks
a website would be nice

The code I implemented is shown below
I have a problem with in the …
"
return createImage(new FilteredImageSource(ip,new CropImageFilter(x,y,width,height)));
"

the error I get is as follows

C:\My Documents\marioGame\GoRacing\FrameCollection.java:47: cannot resolve symbol
symbol : method createImage (java.awt.image.FilteredImageSource)
location: class FrameCollection
return createImage(new FilteredImageSource(ip,new CropImageFilter(x,y,width,height)));
^
1 error

can anyone help me
oh this isn’t the main Applet class but a side class.
ok thanks


    /**
     * Splits a single image containing multiple animation frames 
     * into an array of Image objects. This method assumes the 
     * frames are arranged horizontally in the source image.
     */
    static public Image[] splitAnim(Image comboImage, int startX, int startY, int width, int height, 
        int frameCount, GraphicsConfiguration gc) {
        Color c = new Color(0,0,0,0);
        Image[] frames = new Image[frameCount];
        for(int frame = 0; frame<frameCount; frame++)
        {
            BufferedImage bi = gc.createCompatibleImage(width,height,Transparency.TRANSLUCENT);
            Graphics g = bi.getGraphics();
            g.drawImage(comboImage,
                0,0,width,height,
                startX+(width*frame),startY,startX+(width*(frame+1)),startY+(height),
                null,null);
            frames[frame] = bi;
        }
        return frames;
    }