Example #1
0
  private void jButton1ActionPerformed(
      java.awt.event.ActionEvent evt) { // GEN-FIRST:event_jButton1ActionPerformed
    try {

    } catch (Exception e) {
    }

    if (c.dameEmpresas().isEmpty()) {
      PrimeraVez pv = new PrimeraVez(c);
      pv.setResizable(false);
      pv.setVisible(true);
    } else {
      Inicial inicio = new Inicial();
      inicio.setResizable(false);
      inicio.setVisible(true);
    }
    this.dispose();
  } // GEN-LAST:event_jButton1ActionPerformed
Example #2
0
 public Bienvenido() {
   initComponents();
   setLocationRelativeTo(null);
   c.dameEmpresas().isEmpty();
   setIconImage(new ImageIcon(getClass().getResource("/Images/Load.png")).getImage());
 }