setTitle("SIM - installing " + appName);
setTitle(appName + " " + appVersion + " installer");
	public SwingInstall()	{		installer = new SIMInstaller();		appName = installer.getProperty("app.name");		appVersion = installer.getProperty("app.version");		setTitle("SIM - installing " + appName);		JLabel imgLabel = new JLabel(createIcon(installer.getProperty(			"app.logo")));		imgLabel.setBorder(new SoftBevelBorder(SoftBevelBorder.LOWERED));		getContentPane().add(BorderLayout.WEST,imgLabel);		JPanel buttons = new JPanel();		buttons.setLayout(new BoxLayout(buttons,BoxLayout.X_AXIS));		exit = new JButton("Exit",createIcon("Exit.gif"));		exit.addActionListener(this);		exit.setRequestFocusEnabled(false);		prev = new JButton("Previous",createIcon("Left.gif"));		prev.addActionListener(this);		prev.setRequestFocusEnabled(false);		next = new JButton();		nextIcon = createIcon("Right.gif");		installIcon = createIcon("SaveDB.gif");		next.addActionListener(this);		next.setRequestFocusEnabled(false);		exit.setPreferredSize(prev.getPreferredSize());		next.setPreferredSize(prev.getPreferredSize());		buttons.add(exit);		buttons.add(Box.createGlue());		buttons.add(prev);		buttons.add(Box.createHorizontalStrut(10));		buttons.add(next);		buttons.setBorder(new EmptyBorder(10,10,10,10));		tabs = new JTabbedPane();		tabs.addTab("About " + appName,createIcon("Help.gif"),new About());		tabs.addTab("Install Directory",createIcon("FolderIn.gif"),			chooseDirTab = new ChooseDirectory());		tabs.addTab("Components to Install",createIcon("SaveAll.gif"),			selectCompTab = new SelectComponents());		getContentPane().add(BorderLayout.CENTER,tabs);		// update button enabled/disabled state		tabs.addChangeListener(this);		updatePrevNext();		getContentPane().add(BorderLayout.SOUTH,buttons);		setDefaultCloseOperation(DO_NOTHING_ON_CLOSE);		addWindowListener(new WindowHandler());		Dimension screen = getToolkit().getScreenSize();		pack();		setLocation((screen.width - getSize().width) / 2,			(screen.height - getSize().height) / 2);		show();	}