private void jMenuItem1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jMenuItem1ActionPerformed
        // TODO add your handling code here:
        programmerThread.stop();
        hidePanels(lastPane);
        world.worldDeleter();
        world.initWorld();

        //paint
        this.repaint();
    }//GEN-LAST:event_jMenuItem1ActionPerformed