The java.awt.event Package
The .NET Windows Forms system uses fewer events than the AWT. Consult the documentation for details of events defined by Windows Forms components. The mapping between the Java java.awt.event package and the corresponding .NET classes is provided in Table F-2.
Table F-2. The Java to .NET Mapping for the java.awt.event Package
Java | .NET |
|---|---|
ActionEvent | System.EventArgs |
AdjustmentEvent | System.Windows.Forms.ScrollEventArgs |
AWTEventListenerProxy | N/A |
ComponentAdapter | N/A |
ComponentEvent | System.EventArgs |
ContainerAdapter | N/A |
ContainerEvent | System.Windows.Forms.ControlEventArgs |
FocusAdapter | N/A |
FocusEvent | System.EventArgs |
HierarchyBoundsAdapter | N/A |
HierarchyEvent | N/A |
InputEvent | N/A |
InputMethodEvent | N/A |
InvocationEvent | N/A |
ItemEvent | System.EventArgs |
KeyAdapter | N/A ... |
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access