package javacodebook.gui.layouts;

/**
 * @author Benjamin Rusch
 * In der Starter Klasse mit der main Methode werden drei Frames mit 
 * unterschiedlichen Layouts aufgerufen.
 */

public class Starter {

	public static void main(String[] args) {
			
		FlowFrame flowFrame =  new FlowFrame("FlowLayout Fenster");
		flowFrame.setSize(300,300);
		flowFrame.setLocation(25,25);
		flowFrame.setVisible(true);
		
		GridFrame gridFrame =  new GridFrame("GridLayout Fenster");
		gridFrame.setSize(300,300);
		gridFrame.setLocation(50,50);
		gridFrame.setVisible(true);		
		
		BorderFrame borderFrame =  new BorderFrame("BorderLayout Fenster");
		borderFrame.setSize(300,300);
		borderFrame.setLocation(75,75);
		borderFrame.setVisible(true);
		
		BoxFrame boxFrame =  new BoxFrame("BoxLayout Fenster");
		boxFrame.setSize(300,300);
		boxFrame.setLocation(50,50);
		boxFrame.setVisible(true);
		
		MultipleBoxFrame mboxFrame =  new MultipleBoxFrame("Multiple" 
				+"BoxLayout Fenster");
		mboxFrame.setSize(300,300);
		mboxFrame.setLocation(100,100);
		mboxFrame.setVisible(true);
	
	}
}