Monday, May 14, 2012

How to make a java gui in Jess as an applet?

I have an interface written in Jess (one of the java libraries) that has a panel and a combo box



I wanna make it run as applet. so I can embed it on the web!



Here is my applet.java,



package uges.applets;

import java.applet.Applet;
import jess.*;
public class JessApplet extends Applet
{
public void init()
{
Rete engine = new Rete();
try
{
engine.batch("ug-pro.clp");
engine.reset();

} catch (JessException e)
{
// TODO Auto-generated catch block
e.printStackTrace();
}
}
}


The error was cannot open file ug-pro.clp .. should I put it in a specific folder? and Can I make my GUI in jess as an applet ?





No comments:

Post a Comment