To convert from AWT to AFC, instances of java.awt.event.MouseEvent should be transformed into instances of com.ms.ui.event.UIMouseEvent.
MouseEvent extends AWTEvent: be sure to see its changes.
This is the set of changes you need to make to port all MouseEvent methods to UIMouseEvent methods. Any method not listed here or below does not need to be changed.
AWT Code | AFC Code |
MOUSE_FIRST | MOUSE_EVENT_BASE |
Some methods in java.awt.event.MouseEvent are not directly supported in com.ms.ui.event.UIMouseEvent. Those methods are listed here.
MOUSE_LAST
translatePoint(int, int)