Browse Source

键盘退出

master
XiaXiang 7 years ago
parent
commit
dd38ed8c6e
  1. 5
      designer/src/com/fr/design/mainframe/alphafine/component/AlphaFineDialog.java

5
designer/src/com/fr/design/mainframe/alphafine/component/AlphaFineDialog.java

@ -358,13 +358,12 @@ public class AlphaFineDialog extends UIDialog {
defaultPane = new NoResultPane(Inter.getLocText("FR-Designer-AlphaFine_NO_Result"), IOUtils.readIcon("/com/fr/design/mainframe/alphafine/images/no_result.png"));
searchResultPane.remove(leftSearchResultPane);
searchResultPane.add(defaultPane, BorderLayout.WEST);
refreshContainer();
} else if (searchListModel.getSize() > 0 && defaultPane != null) {
searchResultPane.remove(defaultPane);
defaultPane = null;
searchResultPane.add(leftSearchResultPane, BorderLayout.WEST);
refreshContainer();
}
refreshContainer();
}
/**
@ -932,6 +931,8 @@ public class AlphaFineDialog extends UIDialog {
if (getSelectedIndex() == 1) {
searchTextField.requestFocus();
}
} else if (e.getKeyCode() == KeyEvent.VK_ESCAPE) {
searchTextField.requestFocus();
}
}
});

Loading…
Cancel
Save