Main differences between AWT and kAWT
The main differenced between AWT and kAWT are:
- kAWT supports only one event listener of each type per
Component. If more listeners are really needed for a certain
application, a simple dispatcher can be used as workaround.
- Like Swing, most kAWTcalls are not thread-safe. In order to allow
kAWT-usage in multi-threaded applications, since version 0.95 kAWT
allows thread-safe event-queue-entries, similar to the Swing "invoke
later" mechanism and fully compatible to AWT. Use java.awt.EvenQueue
to access this mechanism.
- Similar to Swing, all kAWT components are lightweight component
written in pure Java, leading to simpler code portability.