The Frame class provides windows for applets and applications.
Every application needs at least one Frame.
Unfortunately, applets currently can't use dialogs well, so they generally need to use frames instead. The How to Use Menus page and the How to Use Dialogs page are two of the many in this tutorial that use a Frame. Removes the specified menu bar from this Frame. Gets the current cursor image or sets the cursor image. The cursor must be specified as one of the types defined in the Frame class.