final AbstractAction[] actionList = new AbstractAction[] { gotoAction, replaceSelectedAction,
replaceAllAction, exportAction, disposeAction };
for (int i = 0; i < actionList.length; i++) {
final AbstractAction action = actionList[i];
final JMenuItem item = menu.add(action);
item.setIcon(new BlindIcon(UIBuilder.ICON_SIZE));
}
menuBar.add(menu);
dialog.setJMenuBar(menuBar);
final ListSelectionModel rowSM = tableView.getSelectionModel();
rowSM.addListSelectionListener(new ListSelectionListener() {