Beispiel #1
0
 @Override
 public void actionPerformed(ActionEvent e) {
   final PreferenceDialog p = new PreferenceDialog(Main.parent);
   p.getTabbedPane().getShortcutPreference().setDefaultFilter(act.getDisplayName());
   p.selectPreferencesTabByName("shortcuts");
   p.setVisible(true);
   // refresh toolbar to try using changed shortcuts without restart
   Main.toolbar.refreshToolbarControl();
 }
Beispiel #2
0
 @Override
 public void actionPerformed(ActionEvent e) {
   final PreferenceDialog p = new PreferenceDialog(Main.parent);
   p.selectPreferencesTabByName("toolbar");
   p.setVisible(true);
 }