Dear Glenn,
Deprecated APIs, components, etc. are those that have been changed or
dropped in the current Java implementation and will not be supported at
all in the next major revision. You can go ahead and use them, but be
aware they won't work with some other people's JVM, browser, etc. as
THEY upgrade.
Peter Johnson [EMAIL PROTECTED]
Glenn Valenta wrote:
> 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