コード例 #1
0
 public static void setBindings(List<KeyBindingAction> list, String fileName) {
   try {
     File file = new File(fileName);
     Document doc = createDocument();
     setBindings(list, doc);
     saveDocument(doc, file);
   } catch (Throwable throwable) {
     throwable.printStackTrace();
   }
 }
コード例 #2
0
 public void saveKeyBindings() {
   KeyBindingWriter.setBindings(getKeyBindingActions(), getUserFileName());
 }