src/demo/share/jfc/Notepad/Notepad.java
Print this page
*** 62,72 ****
@SuppressWarnings("serial")
class Notepad extends JPanel {
protected static Properties properties;
private static ResourceBundle resources;
! private final static 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"};
--- 62,72 ----
@SuppressWarnings("serial")
class Notepad extends JPanel {
protected static Properties properties;
private static ResourceBundle resources;
! 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"};