private void button1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_button1ActionPerformed
        if(clicked == false)
        {
            clicked = true;
            synchronized(this){
            this.notifyAll();}
        }
        else
        {
            clicked = false;
        }
    }//GEN-LAST:event_button1ActionPerformed