setBorder(BorderFactory.createEtchedBorder()); JPanel p = new JPanel(); p.setLayout(new BoxLayout(p, BoxLayout.X_AXIS)); p.add(statusButton); p.add(status); add(UIUtilities.buildComponentPanel(p)); JPanel progress = new JPanel(); progress.setLayout(new BoxLayout(progress, BoxLayout.X_AXIS)); progress.add(progressBar); IconManager icons = IconManager.getInstance(); progressLabel = new JLabel(icons.getIcon(IconManager.PROGRESS)); progress.add(progressLabel); add(UIUtilities.buildComponentPanelRight(progress));
setBorder(BorderFactory.createEtchedBorder()); add(status); JPanel progress = new JPanel(); progress.setLayout(new BoxLayout(progress, BoxLayout.X_AXIS)); progress.add(progressBar); IconManager icons = IconManager.getInstance(); progress.add(new JLabel(icons.getIcon(IconManager.PROGRESS))); add(UIUtilities.buildComponentPanelRight(progress));
	private void buildUI()	{		setLayout(new BoxLayout(this, BoxLayout.X_AXIS));		setBorder(BorderFactory.createEtchedBorder());		JPanel p = new JPanel();		p.setLayout(new BoxLayout(p, BoxLayout.X_AXIS));		p.add(statusButton);		p.add(status);		add(UIUtilities.buildComponentPanel(p));		JPanel progress = new JPanel();		progress.setLayout(new BoxLayout(progress, BoxLayout.X_AXIS));		progress.add(progressBar);		IconManager icons = IconManager.getInstance();		progressLabel = new JLabel(icons.getIcon(IconManager.PROGRESS));		progress.add(progressLabel);		add(UIUtilities.buildComponentPanelRight(progress));	}