I am trying to do basic animations with images, and I am wondering how I could get a smaller image from a larger one without going through and editing it.

I made a sprite here

and downloaded the image. As you see in the thumbnail the animation is from all angles in one image. I am wondering how I would take one frame (lets say the one where the person is walking) up and then display it.

I tried using the subimage and I seem to be getting an error (may not be due to getSubimage method)

Graphics Code

import javax.swing.JPanel;
import java.awt.*;
import java.awt.event.*;
import java.awt.image.ImageObserver;



public class Graphics extends JPanel implements KeyListener{
	
	Animation animate = new Animation ();
	boolean up, down, left, right, animating = false;
	
	Image character;
	
	
	public void startGraphics() {
		// TODO Auto-generated method stub
		repaint();
	}

	public void paintComponent (java.awt.Graphics g){
		super.paintComponent(g);
		g.drawImage (character, 0, 0, 32, 32, null);
		
	}
	
	@Override
	public void keyPressed(KeyEvent arg0) {
		// TODO Auto-generated method stub
		int key = arg0.getKeyCode();
		up = false;
		down = false;
		left = false;
		right = false;
		if (key == KeyEvent.VK_UP){
			up = true;
		}
		if (key == KeyEvent.VK_DOWN){
			down = true;	
		}
		if (key == KeyEvent.VK_LEFT){
			left = true;		
		}
		if (key == KeyEvent.VK_RIGHT){
			right = true;			
		}
		if (animating == false){
			animating = true;
			animate.run();
		}
		
		
	}

	@Override
	public void keyReleased(KeyEvent arg0) {
		// TODO Auto-generated method stub
		up = false;
		down = false;
		left = false;
		right = false;
	}

	@Override
	public void keyTyped(KeyEvent arg0) {
		// TODO Auto-generated method stub
		
	}

}

Animation Code

import java.awt.Image;
import java.awt.Toolkit;
import java.awt.image.BufferedImage;
import java.awt.*;


public class Animation extends Graphics implements Runnable{

	int animationNumber = 1;
	public void run (){
		//32 x 32 images
		while (up){
			BufferedImage img = (BufferedImage) Toolkit.getDefaultToolkit().getImage("Images/image.png");
			character = img.getSubimage ((32 * animationNumber), (32 * 4), 32, 32);
			animationNumber ++;
			if (animationNumber == 4){
				animationNumber = 1;
			}
			repaint();
		}
		while (down){
			BufferedImage img = (BufferedImage) Toolkit.getDefaultToolkit().getImage("Images/image.png");
			character = img.getSubimage ((32 * animationNumber), (32 * 1), 32, 32);
			animationNumber ++;
			if (animationNumber == 4){
				animationNumber = 1;
			}
			repaint();
		}
		while (left){
			BufferedImage img = (BufferedImage) Toolkit.getDefaultToolkit().getImage("Images/image.png");
			character = img.getSubimage ((32 * animationNumber), (32 * 2), 32, 32);
			animationNumber ++;
			if (animationNumber == 4){
				animationNumber = 1;
			}
			repaint();
		}
		while (right){
			BufferedImage img = (BufferedImage) Toolkit.getDefaultToolkit().getImage("Images/image.png");
			character = img.getSubimage ((32 * animationNumber), (32 * 3), 32, 32);
			animationNumber ++;
			if (animationNumber == 4){
				animationNumber = 1;
			}
			repaint();
		}
		
		animating = false;
		
	
	
	}
	
	
}

Frame code

import javax.swing.JFrame;


public class Frame {

	Frame (){
		JFrame f = new JFrame ("Test Animations");
		f.setSize (500,300);
		f.setVisible(true);
		f.setDefaultCloseOperation (JFrame.EXIT_ON_CLOSE);
		Graphics graphics = new Graphics ();
		f.add (graphics);
		graphics.startGraphics();
	}
	
	
	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Frame f = new Frame ();
	}

}

Error

UIDefaults.getUI() failed: createUI() failed for Animation[,0,0,0x0,invalid,layout=java.awt.FlowLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=9,maximumSize=,minimumSize=,preferredSize=] java.lang.reflect.InvocationTargetException
java.lang.Error
	at javax.swing.UIDefaults.getUIError(Unknown Source)
	at javax.swing.MultiUIDefaults.getUIError(Unknown Source)
	at javax.swing.UIDefaults.getUI(Unknown Source)
	at javax.swing.UIManager.getUI(Unknown Source)
	at javax.swing.JPanel.updateUI(Unknown Source)
	at javax.swing.JPanel.<init>(Unknown Source)
	at javax.swing.JPanel.<init>(Unknown Source)
	at javax.swing.JPanel.<init>(Unknown Source)
	at Graphics.<init>(Graphics.java:8)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
Exception in thread "main" java.lang.StackOverflowError
	at java.util.Hashtable.get(Unknown Source)
	at javax.swing.UIDefaults.getFromHashtable(Unknown Source)
	at javax.swing.UIDefaults.get(Unknown Source)
	at javax.swing.MultiUIDefaults.get(Unknown Source)
	at javax.swing.UIDefaults.getFont(Unknown Source)
	at javax.swing.UIManager.getFont(Unknown Source)
	at javax.swing.LookAndFeel.installColorsAndFont(Unknown Source)
	at javax.swing.plaf.basic.BasicPanelUI.installDefaults(Unknown Source)
	at javax.swing.plaf.basic.BasicPanelUI.installUI(Unknown Source)
	at javax.swing.JComponent.setUI(Unknown Source)
	at javax.swing.JPanel.setUI(Unknown Source)
	at javax.swing.JPanel.updateUI(Unknown Source)
	at javax.swing.JPanel.<init>(Unknown Source)
	at javax.swing.JPanel.<init>(Unknown Source)
	at javax.swing.JPanel.<init>(Unknown Source)
	at Graphics.<init>(Graphics.java:8)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)
	at Animation.<init>(Animation.java:7)
	at Graphics.<init>(Graphics.java:10)

Thanks for any help.

You have a recursion.
Why does the Animation class extend the Graphics class?
Your Graphics class at line 10 creates an Animation class which creates a Graphics class which continues until you run out of memory.

You should NOT use the name of a java class for your class.
Graphics is the Java SE class name: java.awt.Graphics

Edited 5 Years Ago by NormR1: n/a

I realized my problem with the class name after I started. Also how would I start the thread then, because if I delete

Animation animate = new Animation

then the

animate.run()

code does not work. I have tried thread.run() aswell, but that didn't work.

Can you explain what execution flow you want to happen?
Having a super class call a sub class does not make sense to me.

Maybe I have it reversed. I would like it so that when the user presses a button an animation starts and the picture changes in the Graphics class. That is what would make it animate.

So if the user presses up (the graphics class handles this) it changes the value of the "up" boolean, and then called the animation to do the animation while the user holds the up button.

so that I can modify the character variable in the graphics class from the animation class

1) use KeyBindings instead of KeyListener, becasue invoke correct Action from key

2) output from Runnable to the GUI must be wraped into invokeLater in all cases that I know,

2a) for quick animation, refreshed on short period you, that's could paused by using Thread.sleep(int), (but to avoiding to conflict with EDT) this method id longer than exception log that you posted here

3) put JLabel into JPanel, create new method where put JLabel#setIcon(icon) and wrap that into invokeLater in your case

I have changed my code a bit. It now looks like this

Animation

import java.awt.Image;
import java.awt.Toolkit;
import java.awt.image.BufferedImage;
import java.awt.*;


public class Animation implements Runnable{

	int animationNumber = 1;
	Image character;
	boolean up,down,left,right;
	
	public void startAnimation (boolean u, boolean d, boolean l, boolean r){
		up = u;
		down = d;
		left = l;
		right = r;
	}
	
	public Image getCharacter (){
		return character;
	}
	
	public void run (){
		//32 x 32 images
		while (up){
			BufferedImage img = (BufferedImage) Toolkit.getDefaultToolkit().getImage("Images/image.png");
			character = img.getSubimage ((32 * animationNumber), (32 * 4), 32, 32);
			animationNumber ++;
			if (animationNumber == 4){
				animationNumber = 1;
			}
			
		}
		while (down){
			BufferedImage img = (BufferedImage) Toolkit.getDefaultToolkit().getImage("Images/image.png");
			character = img.getSubimage ((32 * animationNumber), (32 * 1), 32, 32);
			animationNumber ++;
			if (animationNumber == 4){
				animationNumber = 1;
			}
			
		}
		while (left){
			BufferedImage img = (BufferedImage) Toolkit.getDefaultToolkit().getImage("Images/image.png");
			character = img.getSubimage ((32 * animationNumber), (32 * 2), 32, 32);
			animationNumber ++;
			if (animationNumber == 4){
				animationNumber = 1;
			}
			
		}
		while (right){
			BufferedImage img = (BufferedImage) Toolkit.getDefaultToolkit().getImage("Images/image.png");
			character = img.getSubimage ((32 * animationNumber), (32 * 3), 32, 32);
			animationNumber ++;
			if (animationNumber == 4){
				animationNumber = 1;
			}
			
		}
		
		
		
	}
	
	
	
	
}

Graphics

import java.awt.Image;
import java.awt.Toolkit;
import java.awt.image.BufferedImage;
import java.awt.*;


public class Animation implements Runnable{

	int animationNumber = 1;
	Image character;
	boolean up,down,left,right;
	
	public void startAnimation (boolean u, boolean d, boolean l, boolean r){
		up = u;
		down = d;
		left = l;
		right = r;
	}
	
	public Image getCharacter (){
		return character;
	}
	
	public void run (){
		//32 x 32 images
		while (up){
			BufferedImage img = (BufferedImage) Toolkit.getDefaultToolkit().getImage("Images/image.png");
			character = img.getSubimage ((32 * animationNumber), (32 * 4), 32, 32);
			animationNumber ++;
			if (animationNumber == 4){
				animationNumber = 1;
			}
			
		}
		while (down){
			BufferedImage img = (BufferedImage) Toolkit.getDefaultToolkit().getImage("Images/image.png");
			character = img.getSubimage ((32 * animationNumber), (32 * 1), 32, 32);
			animationNumber ++;
			if (animationNumber == 4){
				animationNumber = 1;
			}
			
		}
		while (left){
			BufferedImage img = (BufferedImage) Toolkit.getDefaultToolkit().getImage("Images/image.png");
			character = img.getSubimage ((32 * animationNumber), (32 * 2), 32, 32);
			animationNumber ++;
			if (animationNumber == 4){
				animationNumber = 1;
			}
			
		}
		while (right){
			BufferedImage img = (BufferedImage) Toolkit.getDefaultToolkit().getImage("Images/image.png");
			character = img.getSubimage ((32 * animationNumber), (32 * 3), 32, 32);
			animationNumber ++;
			if (animationNumber == 4){
				animationNumber = 1;
			}
			
		}
		
		
		
	}
	
	
	
	
}

Did you intend to post two copies of the same program? It looks like there are 2 Animation classes.

Look at your post where there are two copies of the Animation class.
Why is the second copy of the class labeled: Graphics?

woops. It didn't copy correctly

Graphics*

import javax.swing.JPanel;
import java.awt.*;
import java.awt.event.*;
import java.awt.image.BufferedImage;
import java.awt.image.ImageObserver;



public class Graphics extends JPanel implements KeyListener{
	
	Animation animate = new Animation ();
	boolean up, down, left, right, animating = false;
	
	Image character;
	
	
	public void startGraphics() {
		// TODO Auto-generated method stub
		repaint();
	}

	public void paintComponent (java.awt.Graphics g){
		super.paintComponent(g);
		g.drawImage (animate.getCharacter(), 0, 0, 32, 32, null);
		
	}
	
	@Override
	public void keyPressed(KeyEvent arg0) {
		// TODO Auto-generated method stub
		int key = arg0.getKeyCode();
		up = false;
		down = false;
		left = false;
		right = false;
		if (key == KeyEvent.VK_UP){
			up = true;
		}
		if (key == KeyEvent.VK_DOWN){
			down = true;	
		}
		if (key == KeyEvent.VK_LEFT){
			left = true;		
		}
		if (key == KeyEvent.VK_RIGHT){
			right = true;			
		}
		else {
			BufferedImage img = (BufferedImage) Toolkit.getDefaultToolkit().getImage("Images/image.png");
			character = img.getSubimage ((32 * 2), (32 * 4), 32, 32);
			System.out.println (character);
		}
		if (animating == false && (key == KeyEvent.VK_UP || key == KeyEvent.VK_DOWN || key == KeyEvent.VK_LEFT || key == KeyEvent.VK_RIGHT)){
			animating = true;
			animate.startAnimation(up, down, left, right);
		}
		repaint();
		
	}

	@Override
	public void keyReleased(KeyEvent arg0) {
		// TODO Auto-generated method stub
		up = false;
		down = false;
		left = false;
		right = false;
		animating = false;
	}

	@Override
	public void keyTyped(KeyEvent arg0) {
		// TODO Auto-generated method stub
		
	}

}

Have you tried debugging your code by adding printlns to show the execution flow and how variable values change.
For example is the paintComponent method being called?

Unrelated note on the code:
These code blocks only seem to vary by the image offset

BufferedImage img = (BufferedImage) Toolkit.getDefaultToolkit().getImage("Images/image.png");
			character = img.getSubimage ((32 * animationNumber), (32 * offset), 32, 32);
			animationNumber ++;
			if (animationNumber == 4){
				animationNumber = 1;
			}

so you could easily factor out all that repeated code. It's also unlikely that you need (or want) to reload your images constantly as your animation runs.

Edited 5 Years Ago by Ezzaral: n/a

The code needs a lot of work. The OP has to debug it with printlns to find all the holes and exceptions etc.

Agreed. Mine was merely a note on future simplification once he gets the image display issue resolved.

I have been working on this code. I have granged Graphics to Painting. I have changed the method of getting the picture. Now I have another recursion, that I cannot seem to get rid of. It displayed the picture before this problem.

Here are my new codes:
Frame:

import javax.swing.JFrame;


public class Frame {

	Frame (){
		JFrame f = new JFrame ("Test Animations");
		f.setSize (500,300);
		f.setVisible(true);
		f.setDefaultCloseOperation (JFrame.EXIT_ON_CLOSE);
		Painting graphics = new Painting ();
		f.add (graphics);
		graphics.startGraphics();
	}
	
	
	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Frame f = new Frame ();
	}

}

Painting

import javax.imageio.ImageIO;
import javax.swing.JPanel;
import java.awt.*;
import java.awt.event.*;
import java.awt.image.BufferedImage;
import java.awt.image.ImageObserver;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;



public class Painting extends JPanel implements KeyListener{
	
	Animation animate = new Animation ();
	boolean up, down, left, right, animating = false;
	boolean firstStart = true;
	
	Image character;
	
	public void redraw (){
		repaint();
	}
	public void startGraphics() {
		// TODO Auto-generated method stub
		
		BufferedImage bi;
		try {
			bi = ImageIO.read(new File ("Images/image.png"));
			character = bi.getSubimage(0, 0, 32, 32);
			System.out.println ("Image: " + character);
			repaint();
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		animate.initAnimation ();
		
		System.out.println ("startGraphics method");
		addKeyListener (this);
		this.grabFocus();
		
	}

	public void paintComponent (java.awt.Graphics g){
		super.paintComponent(g);
		System.out.println ("Paint");
		if (firstStart){
			g.drawImage (character, 0, 0, 32, 32, null);
			firstStart = false;
		}else {
			g.drawImage (animate.getCharacter(), 0, 0, 32, 32, null);
		}
	}
	
	@Override
	public void keyPressed(KeyEvent arg0) {
		// TODO Auto-generated method stub
		int key = arg0.getKeyCode();
		up = false;
		down = false;
		left = false;
		right = false;
		System.out.println ("Key Pressed");
		if (key == KeyEvent.VK_UP){
			up = true;
		}
		if (key == KeyEvent.VK_DOWN){
			down = true;	
		}
		if (key == KeyEvent.VK_LEFT){
			left = true;		
		}
		if (key == KeyEvent.VK_RIGHT){
			right = true;			
		}
		if (animating == false && (key == KeyEvent.VK_UP || key == KeyEvent.VK_DOWN || key == KeyEvent.VK_LEFT || key == KeyEvent.VK_RIGHT)){
			animating = true;
			animate.startAnimation(up, down, left, right);
		}
		repaint();
		
	}

	@Override
	public void keyReleased(KeyEvent arg0) {
		// TODO Auto-generated method stub
		up = false;
		down = false;
		left = false;
		right = false;
		animating = false;
	}

	@Override
	public void keyTyped(KeyEvent arg0) {
		// TODO Auto-generated method stub
		
	}

}

Animation

import java.awt.Image;
import java.awt.Toolkit;
import java.awt.image.BufferedImage;
import java.awt.*;
import java.io.File;
import java.io.IOException;

import javax.imageio.ImageIO;


public class Animation implements Runnable{

	int animationNumber = 1;
	Image character;
	boolean up,down,left,right;
	Painting painting = new Painting();
	
	public void startAnimation (boolean u, boolean d, boolean l, boolean r){
		up = u;
		down = d;
		left = l;
		right = r;
	}
	
	public Image getCharacter (){
		return character;
	}
	
	public void run (){
		//32 x 32 images
		System.out.println ("Getting image");
		while (up){
			BufferedImage img;
			try {
				img = ImageIO.read(new File ("Images/image.png"));
				character = img.getSubimage ((32 * animationNumber), (32 * 4), 32, 32);
				animationNumber ++;
			} catch (IOException e) {
				// TODO Auto-generated catch block
				e.printStackTrace();
			}
			
			painting.redraw();
			if (animationNumber == 4){
				animationNumber = 1;
			}
			
		}
		while (down){
			BufferedImage img;
			try {
				img = ImageIO.read(new File ("Images/image.png"));
				character = img.getSubimage ((32 * animationNumber), (32 * 1), 32, 32);
				animationNumber ++;
			} catch (IOException e) {
				// TODO Auto-generated catch block
				e.printStackTrace();
			}
			painting.redraw();
			if (animationNumber == 4){
				animationNumber = 1;
			}
			
		}
		while (left){
			BufferedImage img;
			try {
				img = ImageIO.read(new File ("Images/image.png"));
				character = img.getSubimage ((32 * animationNumber), (32 * 2), 32, 32);
				animationNumber ++;
			} catch (IOException e) {
				// TODO Auto-generated catch block
				e.printStackTrace();
			}
			painting.redraw();
			if (animationNumber == 4){
				animationNumber = 1;
			}
			
		}
		while (right){
			BufferedImage img;
			try {
				img = ImageIO.read(new File ("Images/image.png"));
				character = img.getSubimage ((32 * animationNumber), (32 * 3), 32, 32);
				animationNumber ++;
			} catch (IOException e) {
				// TODO Auto-generated catch block
				e.printStackTrace();
			}
			painting.redraw();
			if (animationNumber == 4){
				animationNumber = 1;
			}
			
		}
		
		
		
	}

	public void initAnimation() {
		// TODO Auto-generated method stub
		BufferedImage bi;
		try {
			bi = ImageIO.read(new File ("Images/image.png"));
			character = bi.getSubimage(0, 0, 32, 32);
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
	
	
	
	
}

Error

Exception in thread "main" java.lang.StackOverflowError
	at sun.reflect.Reflection.getClassAccessFlags(Native Method)
	at sun.reflect.Reflection.quickCheckMemberAccess(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at sun.reflect.misc.Trampoline.invoke(Unknown Source)
	at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at sun.reflect.misc.MethodUtil.invoke(Unknown Source)
	at javax.swing.UIDefaults.getUI(Unknown Source)
	at javax.swing.UIManager.getUI(Unknown Source)
	at javax.swing.JPanel.updateUI(Unknown Source)
	at javax.swing.JPanel.<init>(Unknown Source)
	at javax.swing.JPanel.<init>(Unknown Source)
	at javax.swing.JPanel.<init>(Unknown Source)
	at Painting.<init>(Painting.java:13)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)

I have also added a few print statements.

Edited 5 Years Ago by sirlink99: n/a

Now I have another recursion

Can you show a little part of the stack trace showing the recursion?

I edited it into my earlier post, but here it is again

Exception in thread "main" java.lang.StackOverflowError
	at sun.reflect.Reflection.getClassAccessFlags(Native Method)
	at sun.reflect.Reflection.quickCheckMemberAccess(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at sun.reflect.misc.Trampoline.invoke(Unknown Source)
	at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at sun.reflect.misc.MethodUtil.invoke(Unknown Source)
	at javax.swing.UIDefaults.getUI(Unknown Source)
	at javax.swing.UIManager.getUI(Unknown Source)
	at javax.swing.JPanel.updateUI(Unknown Source)
	at javax.swing.JPanel.<init>(Unknown Source)
	at javax.swing.JPanel.<init>(Unknown Source)
	at javax.swing.JPanel.<init>(Unknown Source)
	at Painting.<init>(Painting.java:13)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)
	at Animation.<init>(Animation.java:16)
	at Painting.<init>(Painting.java:15)

The Painting class creates an Animation class which creates a Painting class which creates an Animation class ..... until you run out of memory.

Rethink your logic. Have one class create both of them and pass each a reference to the other. Or have one create the other and paste it a reference to itself.

Ok I have changed it so that the painting class creates the animation class, and passes itself as a parameter to the animation class. Here are my new codes

painting

import javax.imageio.ImageIO;
import javax.swing.JPanel;
import java.awt.*;
import java.awt.event.*;
import java.awt.image.BufferedImage;
import java.awt.image.ImageObserver;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;



public class Painting extends JPanel implements KeyListener{
	
	Animation animate = new Animation ();
	boolean up, down, left, right, animating = false;
	boolean firstStart = true;
	
	Image character;
	
	public void redraw (Image person){
		character = person;
		repaint();
	}
	public void startGraphics() {
		// TODO Auto-generated method stub
		
		BufferedImage bi;
		try {
			bi = ImageIO.read(new File ("Images/image.png"));
			character = bi.getSubimage(0, 0, 32, 32);
			System.out.println ("Image: " + character);
			repaint();
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		animate.initAnimation (this);
		
		System.out.println ("startGraphics method");
		addKeyListener (this);
		this.grabFocus();
		
	}

	public void paintComponent (java.awt.Graphics g){
		super.paintComponent(g);
		System.out.println ("Paint");
		
			g.drawImage (character, 0, 0, 32, 32, null);
		
	}
	
	@Override
	public void keyPressed(KeyEvent arg0) {
		// TODO Auto-generated method stub
		int key = arg0.getKeyCode();
		up = false;
		down = false;
		left = false;
		right = false;
		System.out.println ("Key Pressed");
		if (key == KeyEvent.VK_UP){
			up = true;
		}
		if (key == KeyEvent.VK_DOWN){
			down = true;	
		}
		if (key == KeyEvent.VK_LEFT){
			left = true;		
		}
		if (key == KeyEvent.VK_RIGHT){
			right = true;			
		}
		if (animating == false && (key == KeyEvent.VK_UP || key == KeyEvent.VK_DOWN || key == KeyEvent.VK_LEFT || key == KeyEvent.VK_RIGHT)){
			animating = true;
			animate.startAnimation(up, down, left, right);
		}
		repaint();
		
	}

	@Override
	public void keyReleased(KeyEvent arg0) {
		// TODO Auto-generated method stub
		up = false;
		down = false;
		left = false;
		right = false;
		animating = false;
	}

	@Override
	public void keyTyped(KeyEvent arg0) {
		// TODO Auto-generated method stub
		
	}

}

Animation

import java.awt.Image;
import java.awt.Toolkit;
import java.awt.image.BufferedImage;
import java.awt.*;
import java.io.File;
import java.io.IOException;

import javax.imageio.ImageIO;


public class Animation implements Runnable{

	int animationNumber = 1;
	Image character;
	boolean up,down,left,right;
	Painting painting;
	
	public void startAnimation (boolean u, boolean d, boolean l, boolean r){
		up = u;
		down = d;
		left = l;
		right = r;
	}
	
	public Image getCharacter (){
		return character;
	}
	
	public void run (){
		//32 x 32 images
		System.out.println ("Getting image");
		while (up){
			BufferedImage img;
			try {
				img = ImageIO.read(new File ("Images/image.png"));
				character = img.getSubimage ((32 * animationNumber), (32 * 4), 32, 32);
				animationNumber ++;
				try {
					Thread.sleep(500);
				} catch (InterruptedException e) {
					// TODO Auto-generated catch block
					e.printStackTrace();
				}
			} catch (IOException e) {
				// TODO Auto-generated catch block
				e.printStackTrace();
			}
			
			painting.redraw(character);
			if (animationNumber == 4){
				animationNumber = 1;
			}
			
		}
		while (down){
			BufferedImage img;
			try {
				img = ImageIO.read(new File ("Images/image.png"));
				character = img.getSubimage ((32 * animationNumber), (32 * 1), 32, 32);
				animationNumber ++;
			} catch (IOException e) {
				// TODO Auto-generated catch block
				e.printStackTrace();
			}
			try {
				Thread.sleep(500);
			} catch (InterruptedException e) {
				// TODO Auto-generated catch block
				e.printStackTrace();
			}
			painting.redraw(character);
			if (animationNumber == 4){
				animationNumber = 1;
			}
			
		}
		while (left){
			BufferedImage img;
			try {
				img = ImageIO.read(new File ("Images/image.png"));
				character = img.getSubimage ((32 * animationNumber), (32 * 2), 32, 32);
				animationNumber ++;
			} catch (IOException e) {
				// TODO Auto-generated catch block
				e.printStackTrace();
			}
			try {
				Thread.sleep(500);
			} catch (InterruptedException e) {
				// TODO Auto-generated catch block
				e.printStackTrace();
			}
			painting.redraw(character);
			if (animationNumber == 4){
				animationNumber = 1;
			}
			
		}
		while (right){
			BufferedImage img;
			try {
				img = ImageIO.read(new File ("Images/image.png"));
				character = img.getSubimage ((32 * animationNumber), (32 * 3), 32, 32);
				animationNumber ++;
			} catch (IOException e) {
				// TODO Auto-generated catch block
				e.printStackTrace();
			}
			try {
				Thread.sleep(500);
			} catch (InterruptedException e) {
				// TODO Auto-generated catch block
				e.printStackTrace();
			}
			painting.redraw(character);
			if (animationNumber == 4){
				animationNumber = 1;
			}
			
		}
		
		
		
	}

	public void initAnimation(Painting p) {
		// TODO Auto-generated method stub
		painting = p;
		BufferedImage bi;
		try {
			bi = ImageIO.read(new File ("Images/image.png"));
			character = bi.getSubimage(0, 0, 32, 32);
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
	
	
	
	
}

Now my problem is that whenever I press a button the image does not change.

Edited 5 Years Ago by sirlink99: n/a

whenever I press a button the image does not change.

you need to debug what is happening. Add println statements at every point you expect the code to execute and to show the values of variables as they change.
ADD LOTS of PRINTLNS. You need to see what your code is doing.

I think I figured out my problem. After I called the startAnimation method I didn't actually start the animation. So I added in a

this.run();

into the startAnimation method and now I get this error

Image: BufferedImage@47315d34: type = 13 IndexColorModel: #pixelBits = 8 numComponents = 4 color space = java.awt.color.ICC_ColorSpace@79de256f transparency = 2 transIndex   = 0 has alpha = true isAlphaPre = false ByteInterleavedRaster: width = 32 height = 32 #numDataElements 1 dataOff[0] = 0
startGraphics method
Key Pressed
Up pressed
Going to animation
In animation
Getting image
Up pressed
Getting image
Exception in thread "AWT-EventQueue-0" java.awt.image.RasterFormatException: (y + height) is outside of Raster
	at sun.awt.image.ByteInterleavedRaster.createWritableChild(Unknown Source)
	at java.awt.image.BufferedImage.getSubimage(Unknown Source)
	at Animation.run(Animation.java:40)
	at Animation.startAnimation(Animation.java:24)
	at Painting.keyPressed(Painting.java:79)
	at java.awt.Component.processKeyEvent(Unknown Source)
	at javax.swing.JComponent.processKeyEvent(Unknown Source)
	at java.awt.Component.processEvent(Unknown Source)
	at java.awt.Container.processEvent(Unknown Source)
	at java.awt.Component.dispatchEventImpl(Unknown Source)
	at java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.awt.Component.dispatchEvent(Unknown Source)
	at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source)
	at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)
	at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source)
	at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)
	at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
	at java.awt.Component.dispatchEventImpl(Unknown Source)
	at java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.awt.Window.dispatchEventImpl(Unknown Source)
	at java.awt.Component.dispatchEvent(Unknown Source)
	at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.awt.EventQueue.access$000(Unknown Source)
	at java.awt.EventQueue$1.run(Unknown Source)
	at java.awt.EventQueue$1.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
	at java.awt.EventQueue$2.run(Unknown Source)
	at java.awt.EventQueue$2.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
	at java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.run(Unknown Source)

RasterFormatException: (y + height) is outside of Raster
...
at java.awt.image.BufferedImage.getSubimage(Unknown Source)
at Animation.run(Animation.java:40)

Print out the values used in the getSubimage method to see if they are within the image.

This question has already been answered. Start a new discussion instead.