networkViewSettingsAction = new SharedAction() {
private static final long serialVersionUID = 3980129486744377572L;
@Override
protected void execute(final ActionEvent e) {
final SettingsDialog dialog = new SettingsDialog();
dialog.setVisible(true);
}
};
networkViewSettingsAction.setText("Network View Settings");
networkViewSettingsAction.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_S, InputEvent.CTRL_DOWN_MASK
| InputEvent.ALT_DOWN_MASK));