Hi,

I'm tring to make a Java application that implemts the Jess engine. This 
application read from a batch file the list of rules (LHS -> RHS), facts and 
modules and execute the list. My problem is to visualize the list of modules: 
my java applicatin, for the moment, is similar to the CLIPS, i.e. a graphic 
interface for debugging.
I try to use the method listStackFocus() of the class Rete, but it doesn't 
works onto modules defined and called in a batch file, ex:

....
(defmodule GOOFY)
....
(defrule go
=> (focus MINNIE))
....
(defmodule MINNIE)
...
(defrule go2
=> (focus DAISYDUCK))
....

The method listStackFocus works only if the focus is changed by the Java 
application with the method setFocus(focusName) and my Jess script change 
automatically the modules.
I make a window with a scrolling table inside and i'd like to put in this 
table the modules list.
Anyone know a method similar to listStackFocus()?
There is a methods that return the entire list and not only the top of the 
modules Stack?

I'm using the Jess version 6.1p2

Thanks for help!

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