public GUI(Sprinkles s){
		super("Sprinkles");
		this.s = s;
		this.setSize(200, 200);
		this.setTitle("Sprinkles");
		
		this.setJMenuBar(createMenubar());
		this.s = s;
		this.s.setGui( this );
		
		left = new JScrollPane( new JPanel() );
		right = new JScrollPane( new JPanel() );
		
		left.setHorizontalScrollBarPolicy( JScrollPane.HORIZONTAL_SCROLLBAR_ALWAYS );
		left.setVerticalScrollBarPolicy( JScrollPane.VERTICAL_SCROLLBAR_ALWAYS );
		
		p = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT, true, left, right);
		p.setDividerLocation(150);
		p.setOneTouchExpandable( true );
		
		pb = new JProgressBar(0, 100);
		pb.setVisible( false );
		
		guiContents = new JPanel();
		BoxLayout b = new BoxLayout(guiContents , BoxLayout.Y_AXIS);
		
		guiContents.setLayout( b );
		guiContents.add( p );
		
		guiContents.setPreferredSize( new Dimension(640, 480));
		
		this.getContentPane().add( guiContents, BorderLayout.CENTER );
		this.getContentPane().add( pb, BorderLayout.SOUTH );
		
		try {
	        UIManager.setLookAndFeel(
	            UIManager.getSystemLookAndFeelClassName());
	    } 
	    catch (UnsupportedLookAndFeelException e) {
	       // handle exception
	    	e.printStackTrace();
	    }
	    catch (ClassNotFoundException e) {
	       // handle exception
	    	e.printStackTrace();
	    }
	    catch (InstantiationException e) {
	       // handle exception
	    	e.printStackTrace();
	    }
	    catch (IllegalAccessException e) {
	       // handle exception
	    	e.printStackTrace();
	    }
		
		this.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
	}