A Frame has a set of classes to define MenuBars and Menus:
-
MenuBar(); // defines a menubar which can be used in a frame
-
Menu("Type"); // defines a menu which can itself have hierarchically defined submemus
|
Another type of separate window is the Dialog box, which is not so elaborate as a frame.
-
Dialog(Frame, String Title, boolean mustbeansweredatonceornot); // defines a dialog box
|
Dialog boxes are used for transient data
-
Issue warning to user or require (third argument true) user to verify some action etc.
|