progress.setVisible(false);
	private void setupComponents() throws XMLDBException {		JToolBar toolbar= new JToolBar();		URL url= getClass().getResource("icons/Save24.gif");		JButton button= new JButton(new ImageIcon(url));		button.setToolTipText(			"Store the modified data back into the database.");		button.addActionListener(new ActionListener() {			public void actionPerformed(ActionEvent e) {				save();			}		});		toolbar.add(button);		url= getClass().getResource("icons/Export24.gif");		button= new JButton(new ImageIcon(url));		button.setToolTipText(		"Export to file.");		button.addActionListener(new ActionListener() {			public void actionPerformed(ActionEvent e) {				export();			}		});		toolbar.add(button);				getContentPane().add(toolbar, BorderLayout.NORTH);		text= new ClientTextArea(true, "XML");		getContentPane().add(text, BorderLayout.CENTER);		Box statusbar= Box.createHorizontalBox();		statusbar.setBorder(			BorderFactory.createBevelBorder(BevelBorder.LOWERED));		statusMessage= new JTextField(20);		statusMessage.setEditable(false);		statusMessage.setFocusable(false);		statusMessage.setText("Loading " + resource.getId() + " ...");		statusbar.add(statusMessage);		progress= new JProgressBar();		progress.setPreferredSize(new Dimension(200, 30));		statusbar.add(progress);		getContentPane().add(statusbar, BorderLayout.SOUTH);	}