Beispiel #1
0
  public void connectedScreen(Cliente cliente) {
    System.setProperty("username", cliente.getUsername());
    getContentPane().removeAll();

    System.gc();
    ConnectedPane p = new ConnectedPane(this, cliente);
    cliente.setPanel(p);
    add(p);
    paintAll(getGraphics());
  }
Beispiel #2
0
  public static void main(String[] args) throws Exception {

    Cliente c = new Cliente();

    try {
      c.comprobarEscritura();
      c.comprobarLectura();
      c.comprobarActualizacion();
      c.comprobarBorrado();

    } catch (ExcepcionDAO e) {
      System.err.println(e.getLocalizedMessage());
    }
  }