Hi, 

I am having problem in compiling the following file in java.
-------------------------------------------------------------------------
import jess.*;
import java.util.*;
import java.io.*;


public class SimpleJessDisplay extends Observable implements ReteDisplay {
        InputStream is;
        PrintStream os;

        SimpleJessDisplay (InputStream is, PrintStream os) {
                this.is = is;
                this.os = os;
        }

  public void AssertFact(ValueVector fact) {}
  public void RetractFact(ValueVector fact) {}

  public void AddDeffacts(Deffacts df) {}
  public void AddDeftemplate(Deftemplate dt) {}

  public void AddDefrule(Defrule rule)
  {
    // The network has chenged. Notify anyone who cares..
    setChanged();
    notifyObservers();
  }
  public void ActivateRule(Defrule rule) {}
  public void DeactivateRule(Defrule rule) {}
  public void FireRule(Defrule rule) {System.gc();}

  public PrintStream stdout() {return os;}
  public InputStream stdin() {return is;}
  public PrintStream stderr() {return System.err;}
  public java.applet.Applet applet() { return null; }
}

---------------------------------------------------------
 When I try to compile, it is giving the following error :
----------------------------------------------------------

error: File c:\jess40b4\jess\ReteDisplay.class does not contain type
ReteDisplay as expected, but type jess.ReteDisplay. Please remove the file,
or make sure it appears in the correct subdirectory of the class path.
SimpleJessDisplay.java:6: Interface ReteDisplay of class SimpleJessDisplay
not found. 
public class SimpleJessDisplay extends Observable implements ReteDisplay {
                                                             ^
2 errors

I can't find the error. Would you please help me.

Thanks

Biswas
-------


---------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the
list. List problems? Notify [EMAIL PROTECTED]
---------------------------------------------------------------------

Reply via email to