.setToolTipText("Store a new document into the database.");
.setToolTipText(Messages.getString("DocumentView.22"));
	private void setupComponents() throws XMLDBException {        /* start of menubar */        JMenuBar menubar = new JMenuBar();        JMenu fileMenu = new JMenu("File");        fileMenu.setMnemonic(KeyEvent.VK_F);        menubar.add(fileMenu);         JMenuItem item;        // Save to database        item = new JMenuItem("Save", KeyEvent.VK_S);        item.setAccelerator(KeyStroke.getKeyStroke("control S"));        item.addActionListener(new ActionListener() {            public void actionPerformed(ActionEvent e) {                save();            }        });        fileMenu.add(item);        /*        // Refresh        item = new JMenuItem("Refresh", KeyEvent.VK_R);        item.setAccelerator(KeyStroke.getKeyStroke("control R"));        item.addActionListener(new ActionListener() {            public void actionPerformed(ActionEvent e) {                try {                    refresh() ;                } catch (XMLDBException u) {                    u.printStackTrace();                }            }        });        fileMenu.add(item);        */        setJMenuBar(menubar);        /* end of menubar */                /* The icon toolbar */		JToolBar toolbar = new JToolBar();				//Save button		URL url = getClass().getResource("icons/Save24.gif");		saveButton = new JButton(new ImageIcon(url));		saveButton				.setToolTipText("Store the modified data back into the database.");		saveButton.addActionListener(new ActionListener() {			public void actionPerformed(ActionEvent e) {				save();			}		});		toolbar.add(saveButton);				//Save As button		url = getClass().getResource("icons/SaveAs24.gif");		saveAsButton = new JButton(new ImageIcon(url));		saveAsButton				.setToolTipText("Store a new document into the database.");		saveAsButton.addActionListener(new ActionListener() {			public void actionPerformed(ActionEvent e) {				saveAs();			}		});		toolbar.add(saveAsButton);				//Export button		url = getClass().getResource("icons/Export24.gif");		JButton button = new JButton(new ImageIcon(url));		button.setToolTipText("Export to file.");		button.addActionListener(new ActionListener() {			public void actionPerformed(ActionEvent e)  {			try {				export() ;			} catch (XMLDBException u) {				u.printStackTrace();			}			}		});		toolbar.add(button);				toolbar.addSeparator();				//Copy button		url = getClass().getResource("icons/Copy24.gif");		button = new JButton(new ImageIcon(url));		button.setToolTipText("Copy selection.");		button.addActionListener(new ActionListener() {			public void actionPerformed(ActionEvent e) {				text.copy();			}		});		toolbar.add(button);				//Cut button		url = getClass().getResource("icons/Cut24.gif");		button = new JButton(new ImageIcon(url));		button.setToolTipText("Cut selection.");		button.addActionListener(new ActionListener() {			public void actionPerformed(ActionEvent e) {				text.cut();			}		});		toolbar.add(button);				//Paste button		url = getClass().getResource("icons/Paste24.gif");		button = new JButton(new ImageIcon(url));		button.setToolTipText("Paste selection.");		button.addActionListener(new ActionListener() {			public void actionPerformed(ActionEvent e) {				text.paste();			}		});		toolbar.add(button);				toolbar.addSeparator();				//Refresh button		url = getClass().getResource("icons/Refresh24.gif");		button = new JButton(new ImageIcon(url));		button.setToolTipText("Refresh Document.");		button.addActionListener(new ActionListener() {			public void actionPerformed(ActionEvent e)  {    			try {    				refresh() ;    			} catch (XMLDBException u) {    				u.printStackTrace();    			}			}		});		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 " + URIUtils.urlDecodeUtf8(resource.getId()) + " ...");		statusbar.add(statusMessage);		progress = new JProgressBar();		progress.setPreferredSize(new Dimension(200, 30));		progress.setVisible(false);		statusbar.add(progress);		getContentPane().add(statusbar, BorderLayout.SOUTH);	}