shellButton.setToolTipText("Shell");
shellButton.addActionListener(new AbstractAction() {
private static final long serialVersionUID = 1L;
@Override
public void actionPerformed(ActionEvent e) {
new ShellDialog(mainFrame, "Shell - command line").setVisible(true);
}
});
add(shellButton);
preferenceButton = new JButton(_Icon("Gnome-Preferences-System_32x32.png"));
preferenceButton.setToolTipText("Preferences");