launcher/src/wombat/launcher/Wombat.java
private static void buildUpdateFrame() {
		if (UpdateFrameBuilt)
			return;
		
		// Build the frame that will show update progress.
		UpdateFrame.setSize(400, 200);
		UpdateFrame.setLocationByPlatform(true);
		UpdateFrame.setDefaultCloseOperation(JFrame.HIDE_ON_CLOSE);
		UpdateFrame.setLayout(new BorderLayout());
		
		UpdateFrame.add(getSpacer(20, 20), BorderLayout.WEST);
		UpdateFrame.add(getSpacer(20, 20), BorderLayout.EAST);
		UpdateFrame.add(getSpacer(20, 20), BorderLayout.SOUTH);
		
		// Add the status bars.
		JPanel progressPanel = new JPanel();
		progressPanel.setLayout(new GridLayout(4, 1));
		progressPanel.add(new JLabel("Current file:"));
		progressPanel.add(CurrentProgress);
		progressPanel.add(new JLabel("Overall:"));
		progressPanel.add(OverallProgress);
		UpdateFrame.add(progressPanel, BorderLayout.CENTER);

		CurrentProgress.setStringPainted(true);
		OverallProgress.setStringPainted(true);
		
		UpdateFrameBuilt = true;
	}
/**
	 * Build the Update frame.
	 * 
	 * Can be called as often as you want, there's a variable that only lets it be built once.
	 */
Build the Update frame.

Can be called as often as you want, there's a variable that only lets it be built once.
Build the Update frame . Can be called as often as you want there ' s a variable that only lets it be built once .
private static void buildUpdateFrame() {
		if (UpdateFrameBuilt)
			return;
		UpdateFrame.setSize(400, 200);
		UpdateFrame.setLocationByPlatform(true);
		UpdateFrame.setDefaultCloseOperation(JFrame.HIDE_ON_CLOSE);
		UpdateFrame.setLayout(new BorderLayout());
		UpdateFrame.add(getSpacer(20, 20), BorderLayout.WEST);
		UpdateFrame.add(getSpacer(20, 20), BorderLayout.EAST);
		UpdateFrame.add(getSpacer(20, 20), BorderLayout.SOUTH);
		JPanel progressPanel = new JPanel();
		progressPanel.setLayout(new GridLayout(4, 1));
		progressPanel.add(new JLabel("Current file:"));
		progressPanel.add(CurrentProgress);
		progressPanel.add(new JLabel("Overall:"));
		progressPanel.add(OverallProgress);
		UpdateFrame.add(progressPanel, BorderLayout.CENTER);
		CurrentProgress.setStringPainted(true);
		OverallProgress.setStringPainted(true);
		UpdateFrameBuilt = true;
	}
private static void buildUpdateFrame ( ) { if ( UpdateFrameBuilt ) return ; UpdateFrame . setSize ( 400 , 200 ) ; UpdateFrame . setLocationByPlatform ( true ) ; UpdateFrame . setDefaultCloseOperation ( JFrame . HIDE_ON_CLOSE ) ; UpdateFrame . setLayout ( new BorderLayout ( ) ) ; UpdateFrame . add ( getSpacer ( 20 , 20 ) , BorderLayout . WEST ) ; UpdateFrame . add ( getSpacer ( 20 , 20 ) , BorderLayout . EAST ) ; UpdateFrame . add ( getSpacer ( 20 , 20 ) , BorderLayout . SOUTH ) ; JPanel progressPanel = new JPanel ( ) ; progressPanel . setLayout ( new GridLayout ( 4 , 1 ) ) ; progressPanel . add ( new JLabel ( "Current file:" ) ) ; progressPanel . add ( CurrentProgress ) ; progressPanel . add ( new JLabel ( "Overall:" ) ) ; progressPanel . add ( OverallProgress ) ; UpdateFrame . add ( progressPanel , BorderLayout . CENTER ) ; CurrentProgress . setStringPainted ( true ) ; OverallProgress . setStringPainted ( true ) ; UpdateFrameBuilt = true ; }
Build the Update frame.
Build the Update frame .
// Build the frame that will show update progress. // Add the status bars.