Download CDC Porting Guide - Oracle Documentation

Transcript
The peer implementation will request focus on a Panel in order to forward
events to any lightweight components it contains. This means that
heavyweight components that may not be able to request focus from the native
widget library should still work. For example, some native GUI toolkits may
not allow a Panel to get focus and send events to the top level window.
Mouse Events. MOUSE_MOVED events are always sent to the heavyweight
component under the mouse cursor. MOUSE_DRAGGED events are always sent to
the heavyweight component where the mouse button was first pressed, even
when the mouse is moved outside of the component. The coordinates are always
relative to the component that was clicked on.
■
■
Chapter 11
Personal Profile
11-13