@Override
 public void actionPerformed(ActionEvent arg0) {
   if (arg0.getActionCommand().equals("PRESS_paBotonAnadirSudoku")) {
     VentanaAdminSudoku.getVentana().anadir();
   } else if (arg0.getActionCommand().equals("PRESS_pbBotonBorrarSudoku")) {
     VentanaAdminSudoku.getVentana().borrar(selItemSudBorrar);
   } else if (arg0.getActionCommand().equals("PRESS_pmBtnActivardesactivar")) {
     VentanaAdminSudoku.getVentana().activarDesactivar(selItemSudModificar);
   } else if (arg0.getActionCommand().equals("PRESS_pmBotonVerSudoku")) {
     VentanaAdminSudoku.getVentana().verSudoku(selItemSudModificar);
   } else if (arg0.getActionCommand().equals("PRESS_pmBotonModificar")) {
     VentanaAdminSudoku.getVentana().modificarSud(selItemSudModificar);
   }
 }
 public static VentanaAdminSudoku getVentana() {
   if (mVentana == null) {
     mVentana = new VentanaAdminSudoku();
     mVentana.cargarDatos();
   }
   return mVentana;
 }
 @Override
 public void actionPerformed(ActionEvent e) {
   if (e.getActionCommand().equals("PRESS_btnAdminSud")) {
     VentanaAdminSudoku.getVentana().setVisible(true);
     VentanaAdmin.getVentana().setVisible(false);
   } else if (e.getActionCommand().equals("PRESS_btnAdminLogros")) {
     try {
       VentanaAdminLogros.getVentana().setVisible(true);
       VentanaAdmin.getVentana().setVisible(false);
     } catch (ExcepcionConectarBD e1) {
       e1.printStackTrace();
     } catch (SQLException e2) {
       e2.printStackTrace();
     }
   } else if (e.getActionCommand().equals("PRESS_btnEstadisticas")) {
     VentanaEstadisticasAdministrador.getVentana().setVisible(true);
     VentanaAdmin.getVentana().setVisible(false);
   }
 }
 @Override
 public void windowClosing(WindowEvent e) {
   VentanaAdminSudoku.getVentana().dispose();
   VentanaAdmin.getVentana().setVisible(true);
 }