super("SIM - installing " + appName);
super("Installing " + appName);  JPanel content = new JPanel(new BorderLayout()); content.setBorder(new EmptyBorder(12,12,12,12)); setContentPane(content);
	public SwingProgress(String appName)	{		super("SIM - installing " + appName);		this.appName = appName;		message = new JLabel("Installing " + appName + "...");		message.setBorder(new EmptyBorder(10,10,10,10));		getContentPane().add(BorderLayout.NORTH,message);		progress = new JProgressBar();		progress.setStringPainted(true);		getContentPane().add(BorderLayout.CENTER,progress);		stop = new JButton("Stop");		stop.addActionListener(this);		JPanel panel = new JPanel();		panel.setBorder(new EmptyBorder(10,10,10,10));		panel.add(stop);		getContentPane().add(BorderLayout.SOUTH,panel);		Dimension screen = getToolkit().getScreenSize();		pack();		Dimension size = getSize();		size.width = Math.max(500,size.width);		setBounds((screen.width - size.width) / 2,			(screen.height - size.height) / 2,			size.width,size.height);		show();	}