Re: JESS: Combining JESS.clp and normal Java GUI

2011-03-20 Thread Flogger
Hello Jason, Thanks for your quick response. Maybe handle was the wrong word to use :-). Your approach seems to be good, but my problem is: do i need a single deftemplate for every variable or is it one deftemplate for all variables ok? And in which way do I need to rephrase my formulas so I can

JESS: Combining JESS.clp and normal Java GUI

2011-03-18 Thread Flogger
Hi Community, not long ago I asked you how to store rules in an excel sheet. Me and my tutor are totally ok with the apache api for accessing our rules. I programmed a small GUI were all the input can be made. My question right now is: Is it possible to link my input fields to my seperated

Re: JESS: Combining JESS.clp and normal Java GUI

2011-03-18 Thread Jason Morris
Hi Florian, Rules handle input by activating and firing in response to the assertion of facts that match their LHS patterns. If you want a rule to handle some input data, simply write a rule that matches a fact containing that data. Just have the event handler code for your OK button (or