Hi,

The problem is when I call the run-until-halt command is waits and all
the swing based gui's are frozen. (With out run-until-halt every thing
works fine also with run it works) What may cause the problem ant Ideas?
Are there any examples or explanations how to use ACTIVATION LOCK in
Rete?

The simplified class structure looks like this.

class mainApp {
    JessGui j1;
    App1 a1;
......
}

class JessGui extends JFrame {
   JessThread jt1;
......
         if (button1 clicked) callReteLoop();
// this locks the gui. It does not let the gui to update though its not
the JessThread.
// it also locks the App1 no updates there as well.
......
}

JessThread extends Thread {
    static Rete rete;
    static initJess(){}
    ......
    callReteLoop(){
        rete.runUntilHalt();
    }
}

App1 extends Thread {
....
    //some where I access to the jess engine by using the static member
in JessThread
    putInstancetoJess(){
        JessThread.rete.executeCommand(....)
    }
}

thanks.


---------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the
list (use your own address!) List problems? Notify [EMAIL PROTECTED]
---------------------------------------------------------------------

Reply via email to