When I compile application(not applets) examples out of most of my 
books, (Java-how to program) I get the error ...

"Addition.java uses a deprecated API.  
        Recompile with "-deprecation" for details."

And when I recompile with "-deprecation", I get this message...

Addition.java:21: Note: The method boolean action(java.awt.Event, 
java.lang.Object) in class java.awt.Component has been deprecated, 
and class Addition (which is not deprecated) overrides it.
  public boolean action(Event e,Object o)
                 ^
Note: Addition.java uses a deprecated API.  Please consult the 
documentation for a better alternative.

What does it mean and where in the documentation?

Source and example are at.....

http://ouray.cudenver.edu/~gavalent/java/test2/Addition.html

TIA!

-- 
Glenn Valenta  Engineering http://www.coloradostudios.com
[EMAIL PROTECTED]   http://ouray.cudenver.edu/~gavalent/
[EMAIL PROTECTED]  <-main mail account

Reply via email to