1 19 20 package org.netbeans.modules.java.editor.options; 21 22 import org.netbeans.modules.editor.java.JavaKit; 23 import org.netbeans.modules.editor.options.BasePrintOptions; 24 25 31 public class JavaPrintOptions extends BasePrintOptions { 32 33 public static final String JAVA = "java"; 35 static final long serialVersionUID =4518102546961762366L; 36 37 public JavaPrintOptions() { 38 super(JavaKit.class, JAVA); 39 } 40 41 public JavaPrintOptions(Class kitClass, String typeName) { 42 super(kitClass, typeName); 43 } 44 45 48 protected String getString(String key) { 49 try { 50 return org.openide.util.NbBundle.getMessage(JavaOptions.class, key); 51 } catch (java.util.MissingResourceException e) { 52 return super.getString(key); 53 } 54 } 55 56 } 57 | Popular Tags |