private void formWindowOpened(java.awt.event.WindowEvent evt) {//GEN-FIRST:event_formWindowOpened
        
        new Thread() {
            int i = 0;
            public void run() {
                while(i <= 100) {
                    pbsplash.setValue(i);
                    i++;
                       try {
                        sleep(60);
                    } catch (Exception e) {
                    
                    }
                }
                FrmSplash.this.dispose();
                new Login().setVisible(true);
            }
        }.start();
    }