(final JComponent component,
final Action action, final KeyStroke keystroke,
int condition)
| 181 | } |
| 182 | |
| 183 | private static void enableBind(final JComponent component, |
| 184 | final Action action, final KeyStroke keystroke, |
| 185 | int condition) { |
| 186 | component.getInputMap(condition).put(keystroke, action); |
| 187 | } |
| 188 | |
| 189 | private static void disableBind(final JComponent component, |
| 190 | final Action action, |