final JMenuItem databaseDriversMenuItem = WidgetFactory.createMenuItem("Manage database drivers...",
imageManager.getImageIcon("images/menu/options.png", IconUtils.ICON_SIZE_SMALL));
databaseDriversMenuItem.addActionListener(new ActionListener() {
@Override
public void actionPerformed(ActionEvent e) {
OptionsDialog dialog = _optionsDialogProvider.get();
dialog.selectDatabaseDriversTab();
dialog.setVisible(true);
}
});
popup.add(databaseDriversMenuItem);
popup.add(new JSeparator(JSeparator.HORIZONTAL));