Exemplo n.º 1
0
 public void loadPuzzle(ActionEvent e) throws NoSuchMethodException {
   int returnVal = fc.showOpenDialog(this);
   if (returnVal != JFileChooser.APPROVE_OPTION) {
     return;
   }
   file = fc.getSelectedFile();
   Map m = new HashMap();
   m.put("file", file);
   mgr.switchScreens(m);
 }
Exemplo n.º 2
0
 private void showPuzzle(Map m) {
   mgr.switchScreens(m);
 }