Properties.setProperty(key, value) is not defined in Java 1.1, it is in 1.2. Change the line to

_properties.put(key, value);

and it will compile.


Liwen Zhong <> wrote:
Hi, i downloaded Java version of HTML Tidy Release 4 Aug 2000. After i
imported the source codes into JAVAVisualAge, an error detected in the
method "addProps(Properties)" in the "Configuration" class as follow:

_properties.setProperty(key, value);  "method not defined"