url= getClass().getResource("icons/Save24.gif");
url= getClass().getResource("icons/SaveAs24.gif");
	private void setupComponents() {		getContentPane().setLayout(new BorderLayout());		JToolBar toolbar = new JToolBar();				URL url= getClass().getResource("icons/Open24.gif");		JButton button= new JButton(new ImageIcon(url));		button.setToolTipText(		"Read query from file.");		button.addActionListener(new ActionListener() {			public void actionPerformed(ActionEvent e) {				open();			}		});		toolbar.add(button);				url= getClass().getResource("icons/Save24.gif");		button= new JButton(new ImageIcon(url));		button.setToolTipText(		"Write query to file.");		button.addActionListener(new ActionListener() {			public void actionPerformed(ActionEvent e) {				save();			}		});		toolbar.add(button);				JSplitPane split = new JSplitPane(JSplitPane.VERTICAL_SPLIT);		split.setResizeWeight(0.5);				JComponent qbox= createQueryBox();		split.setTopComponent(qbox);        JPanel vbox = new JPanel();        vbox.setLayout(new BorderLayout());                JLabel label = new JLabel("Results:");        vbox.add(label, BorderLayout.NORTH);        		resultDisplay= new ClientTextArea(false, "XML");		resultDisplay.setText("");		resultDisplay.setPreferredSize(new Dimension(400, 250));        vbox.add(resultDisplay, BorderLayout.CENTER);        		split.setBottomComponent(vbox);		split.setDividerLocation(0.4);		getContentPane().add(toolbar, BorderLayout.NORTH);        getContentPane().add(split, BorderLayout.CENTER);	}