Browse Source

final language level

master
xiaoxia 8 years ago
parent
commit
57f656c7d3
  1. 4
      designer/src/com/fr/design/mainframe/alphafine/component/AlphaFineDialog.java
  2. 2
      designer/src/com/fr/design/mainframe/alphafine/component/AlphaFineTextField.java

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

@ -280,9 +280,9 @@ public class AlphaFineDialog extends UIDialog {
}); });
} }
private void showResult(int index, Object selectedValue) { private void showResult(int index, final Object selectedValue) {
if (selectedValue instanceof FileModel) { if (selectedValue instanceof FileModel) {
String fileName = ((FileModel) selectedValue).getFilePath().substring(ProjectConstants.REPORTLETS_NAME.length() + 1); final String fileName = ((FileModel) selectedValue).getFilePath().substring(ProjectConstants.REPORTLETS_NAME.length() + 1);
showDefaultPreviewPane(); showDefaultPreviewPane();
if (fileName.endsWith("frm")) { if (fileName.endsWith("frm")) {
if (this.searchWorker != null && !this.searchWorker.isDone()) { if (this.searchWorker != null && !this.searchWorker.isDone()) {

2
designer/src/com/fr/design/mainframe/alphafine/component/AlphaFineTextField.java

@ -66,7 +66,7 @@ public class AlphaFineTextField extends UITextField {
* 添加键盘监听器 * 添加键盘监听器
* @param component * @param component
*/ */
public void initKeyListener(Component component) { public void initKeyListener(final Component component) {
addKeyListener(new KeyAdapter() { addKeyListener(new KeyAdapter() {
@Override @Override
public void keyReleased(KeyEvent e) { public void keyReleased(KeyEvent e) {

Loading…
Cancel
Save