classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Event class?


From: John Leuner
Subject: Re: Event class?
Date: Mon, 14 May 2001 17:34:28 +0000
User-agent: Mutt/1.3.15i

> > > No.  They inhereit from AWTEvent, which is the class that replaced
> > > Event in 1.1.
> >
> > Yes, you're right.
> >
> > So whatever code Shane was compiling needs to be changed to 1.1.
> 
> Actually, it was code within Classpath itself.  Not code I was bringing into 
> the mix.

I didn't say it was foreign code :-)

Using my CVS checkout, I tried to compile some AWT files:

java/awt/Toolkit.java fails to compile, it references Event.CTRL_MASK
java/awt/MenuComponent.java fails to compile, it has a method postEvent(Event 
event)
java/awt/PopupMenu.java fails to compile, it references Event.ACTION_EVENT
java/awt/AWTEvent.java itself fails to compile, it has a constructor that has 
an Event as an argument (a JDK 1.0 compatibility constructor)
java/awt/ImageMediaEntry.java fails because it is declared as a synchronized 
class

I used jikes to compile.


-- 
John Leuner



reply via email to

[Prev in Thread] Current Thread [Next in Thread]