package vgp.iterate.pythagoreanTree;

import java.awt.Rectangle;

import jv.project.PjProject;
import vgp.object.PsApplet;

/**
 * Computes a Pythagorean tree.
 * @author		Andreas Haferburg, Konrad Polthier
 * @version		04.11.06, 2.00 revised (kp) Rewrite to synchronize with JavaView standards.<br>
 *			      29.03.06, 1.00 created (ah)
 * @since      JavaView 3.95
 */
public class PaPythagoreanTree extends PsApplet {
	/** Interface of applet to inform about author, version, and copyright. */
	public String getAppletInfo() {
		return "Name: "		+ this.getClass().getName()+ "\r\n" +
				  "Author: "	+ "Andreas Haferburg, Konrad Polthier" + "\r\n" +
				  "Version: "	+ "2.00" + "\r\n" +
				  "Computes a Pythagorean tree" + "\r\n";
	}
	/** Return a new allocated project instance. */
	public Rectangle getSizeOfFrame() {
		return new Rectangle(380, 5, 640, 550);
	}
	/** Return a new allocated project instance. */
	public PjProject getProject() {
		return new PjPythagoreanTree();
	}
	/**
	 * Standalone application support. The main() method acts as the applet's
	 * entry point when it is run as a standalone application. It is ignored
	 * if the applet is run from within an HTML page.
	 */
	public static void main(String args[]) {
		main(new PaPythagoreanTree(), args);
	}
}
