private void addAnimPanel() {

		String s = MDView.getInternationalText("Animation");

		animPanel = new JPanel(new BorderLayout());

		JPanel p = new JPanel(new BorderLayout(5, 5));
		p.setBorder(new EmptyBorder(10, 10, 10, 10));
		animPanel.add(p, BorderLayout.NORTH);

		JPanel child = new JPanel(new SpringLayout());
		p.add(child, BorderLayout.NORTH);

		// row 1
		s = MDView.getInternationalText("NumberOfFrames");
		child.add(new JLabel((s != null ? s : "Number of Frames") + ":"));
		nFrameLabel = new JLabel("Unknown");
		child.add(nFrameLabel);

		// row 2
		s = MDView.getInternationalText("CurrentFrame");
		child.add(new JLabel((s != null ? s : "Current Frame") + ":"));
		currentFrameLabel = new JLabel("Unknown");
		child.add(currentFrameLabel);

		// row 3
		s = MDView.getInternationalText("CurrentOffset");
		child.add(new JLabel((s != null ? s : "Current Offset") + ":"));
		offsetLabel = new JLabel("Unknown");
		child.add(offsetLabel);

		// row 4
		s = MDView.getInternationalText("CurrentDelayTime");
		child.add(new JLabel((s != null ? s : "Current Delay") + ":"));
		currentDelayLabel = new JLabel("Unknown");
		child.add(currentDelayLabel);

		// row 5
		s = MDView.getInternationalText("LogicalScreen");
		child.add(new JLabel((s != null ? s : "Logical Screen") + ":"));
		logicalScreenLabel = new JLabel("Unknown");
		child.add(logicalScreenLabel);

		// row 6
		s = MDView.getInternationalText("NumberOfLoops");
		child.add(new JLabel((s != null ? s : "Number of Loops") + " (-1: No loop; 0: Loop forever):"));
		loopField = new IntegerTextField(1000, -1, 100000, 8);
		child.add(loopField);

		PropertiesPanel.makeCompactGrid(child, 6, 2, 5, 5, 20, 10);

		loopField.addActionListener(okListener);

		nFrameLabel.setText(image.getFrames() + "");
		currentFrameLabel.setText(image.getCurrentFrame() + "");
		currentDelayLabel.setText(image.getDelayTime(image.getCurrentFrame()) + " milliseconds");
		offsetLabel.setText("( " + (int) (image.getXFrame() - image.getRx()) + " , "
				+ (int) (image.getYFrame() - image.getRy()) + " ) pixels");
		logicalScreenLabel.setText(image.getLogicalScreenWidth() + " x " + image.getLogicalScreenHeight() + " pixels");
		loopField.setValue(image.getLoopCount());

		tabbedPane.addTab(s != null ? s : "Animation", animPanel);

	}