Every application contains an AppBase object. The AppBase object is the
top object in an application's UI hierarchy ; all the FlexFrames,
FlexDialogs, and other windows in an application are children of
the application's AppBase object.
Additionally, AppBase objects have member functions that applications can
override to know when to build and destroy the application UI. It also
contains mechanisms and API for manipulating user interface concepts such
as the keyboard focus, pen grab, and active window.
As is the case with all UI components, the AppBase member functions must
be invoked on an application's first (main) thread.
The UI library provides the AppBase class. The AppBase object is the
topmost object in an application's UI hierarchy, and provides an interface
for the system to pass along input events and load/unload requests to an
application.