Tony CHEMIT pushed to branch develop-7.x at ultreiaio / ird-observe
Commits:
-
2e34b2db
by Tony CHEMIT at 2018-07-10T13:47:26Z
1 changed file:
Changes:
| ... | ... | @@ -696,6 +696,8 @@ public class ContentUIInitializer<E extends IdDto, UI extends ContentUI<E, UI>> |
| 696 | 696 |
protected void init(JXDatePicker picker) {
|
| 697 | 697 |
|
| 698 | 698 |
log.debug("init JXDatePicker editor" + picker.getName());
|
| 699 |
+ picker.getInputMap(JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT).put(KeyStroke.getKeyStroke(KeyEvent.VK_F5, 0), "none");
|
|
| 700 |
+ |
|
| 699 | 701 |
picker.setLocale(ObserveSwingApplicationContext.get().getConfig().getLocale());
|
| 700 | 702 |
JFormattedTextField editor = picker.getEditor();
|
| 701 | 703 |
editor.setEditable(true);
|