Esempio n. 1
0
 // reads the configuration (breakpoints, window sizes and positions...) for the current index
 private void restoreConfig() {
   Breakpoints.reset();
   Properties.reset();
   try {
     ObjectInputStream in = new ObjectInputStream(new FileInputStream(idxName + ".config"));
     Breakpoints.restore(in);
     Properties.restore(in);
     in.close();
   } catch (IOException exc) {
     // something went wrong - there probably was no .config file
     // ignore it
   }
 }
Esempio n. 2
0
 // resets the configuration (breakpoints, window sizes and positions...)
 private void resetConfig() {
   Breakpoints.reset();
   Properties.reset();
 }