EventObject to UIBaseEvent

To convert from AWT to AFC, instances of java.util.EventObject should be transformed into instances of com.ms.ui.event.UIBaseEvent.

 

Purpose and Usage

Both of these classes serve as the bases for JDK 1.1 events.

 

Porting

This is the set of changes you need to make to port all EventObject methods to UIBaseEvent methods. Any method not listed here or below does not need to be changed.

 

AWT Code AFC Code Comments
EventObject(Object) UIBaseEvent(Object, int) UIBaseEvent needs the base event on specification as well.
source getSource()