private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton1ActionPerformed
        // TODO add your handling code here:
         

  jDialog1.setVisible(false);
  Game.getFrames()[0].setVisible(true);
 //     Game.getFrames()[0].setAlwaysOnTop(true);

    //jFrame1.setVisible(false);
    }//GEN-LAST:event_jButton1ActionPerformed