src/demo/share/jfc/Notepad/Notepad.java

Print this page

        

@@ -62,11 +62,11 @@
 @SuppressWarnings("serial")
 class Notepad extends JPanel {
 
     protected static Properties properties;
     private static ResourceBundle resources;
-    private final static String EXIT_AFTER_PAINT = "-exit";
+    private static final String EXIT_AFTER_PAINT = "-exit";
     private static boolean exitAfterFirstPaint;
 
     private static final String[] MENUBAR_KEYS = {"file", "edit", "debug"};
     private static final String[] TOOLBAR_KEYS = {"new", "open", "save", "-", "cut", "copy", "paste"};
     private static final String[] FILE_KEYS = {"new", "open", "save", "-", "exit"};