Principal.java
// End of variables declaration//GEN-END:variables
End of variables declaration//GEN-END:variables
End of variables declaration // GEN - END : variables
@Override
    public void run() {
        while(tiempo != null){
            try {
                Thread.sleep(10000);
                new login().setVisible(true);
                this.dispose();
            } catch (InterruptedException ex) {
                Logger.getLogger(Principal.class.getName()).log(Level.SEVERE, null, ex);
            }
        }
    }
@ Override public void run ( ) { while ( tiempo != null ) { try { Thread . sleep ( 10000 ) ; new login ( ) . setVisible ( true ) ; this . dispose ( ) ; } catch ( InterruptedException ex ) { Logger . getLogger ( Principal . class . getName ( ) ) . log ( Level . SEVERE , null , ex ) ; } } }
End of variables declaration//GEN-END:variables
End of variables declaration // GEN - END : variables