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