Re: AWTEvents errors and deprecated methods

From: Michael G (mike-g_at_montana.com)
Date: 11/30/03


Date: Sat, 29 Nov 2003 22:18:00 -0700


"Michael G" <mike-g@montana.com> wrote in message
news:3fc974b3_4@127.0.0.1...
> I am getting some errors/warnings that I don't understand. This code is
in
> a Java app that uses Swing J Components with an ActionListener. The
> code/errors/warnings follow. Thanks for any help, Mike

> ...//snipped
>
> ERRORS/WARNINGS
> .\java\awt\Frame.java:72: class$ is reserved for internal use
> Class class$(String arg0)
> ^
> .\java\awt\Font.java:240: package AttributedCharacterIterator does not
exist
> public AttributedCharacterIterator.Attribute[] getAvailableAttributes()
> ^
> .\java\awt\AWTEvent.java:30: cannot resolve symbol
> symbol : constructor EventObject ()
> location: class java.util.EventObject
> {
> ^
> .\java\awt\AWTEvent.java:40: cannot resolve symbol
> symbol : constructor EventObject ()
> location: class java.util.EventObject
> {
> ^
> .\java\awt\AWTEvent.java:49: cannot resolve symbol
> symbol : constructor EventObject ()
> location: class java.util.EventObject
> {
> ^
> Note: Some input files use or override a deprecated API.
> Note: Recompile with -deprecation for details.
> 5 errors
>
> Tool completed with exit code 1
>

The problem with these errors is that it is in Sun's code not mine. I am
using jdk1.4.1 and I have the associated docs. Makes no sense to me.

Thanks, Mike