Thank you very much! It works. The console was not being called from the GUI
but by the Agent itself (I use the Jade GuiAgent), but I guess that is just
as bad.

Sander

> -----Original Message-----
> From: [EMAIL PROTECTED]
> Behalf Of [EMAIL PROTECTED]
> Sent: woensdag 13 februari 2002 16:27
> To: [EMAIL PROTECTED]
> Subject: Re: JESS: Console runs only once
>

(...)

> You're calling it from the GUI
> event-handling thread, which is obviously bad -- once you call it, the
> GUI can't respond to any more events.
>
> There are a couple different things you could do. First of all, you
> need to doing the actual running of the engine on a dedicated
> thread. Second, rather than creating a new Console and then destroying
> it, you could simply hide it when it's not needed.

(...)


--------------------------------------------------------------------
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