public void run() {
                try {
                    new Contratos().setVisible(true);
                } catch (BancoException ex) {
                    Logger.getLogger(Contratos.class.getName()).log(Level.SEVERE, null, ex);
                }
            }