joonefilechoosereditor.java.rej

来自「拥有图形界面的」· REJ 代码 · 共 35 行

REJ
35
字号
****************** 10,15 ****  import java.io.File;  import java.beans.PropertyEditorSupport;    /**   * Implementation of a custom property editor using   * the <code>JooneFileChooserEditor</code>.--- 10,17 ----  import java.io.File;  import java.beans.PropertyEditorSupport;  + import javax.swing.*;+   /**   * Implementation of a custom property editor using   * the <code>JooneFileChooserEditor</code>.****************** 33,39 ****      // Updates the display to reflect the user's selection.      public void actionPerformed(ActionEvent e) {          String command = e.getActionCommand();-         if (command.equals(JooneFileChooser.APPROVE_SELECTION)) {              setValue(getValue());          }      }--- 35,41 ----      // Updates the display to reflect the user's selection.      public void actionPerformed(ActionEvent e) {          String command = e.getActionCommand();+         if (command.equals(JFileChooser.APPROVE_SELECTION)) {              setValue(getValue());          }      }

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?