To convert from AWT to AFC, instances of java.awt.event.MouseMotionAdapter should be transformed into instances of com.ms.ui.event.UIMouseMotionAdapter.
No other changes are necessary.