HELP! * YELLOW=global GREY=local Global HTML version of Foils prepared 4 February 97

Foil 13 Some Further AWT Components -- Canvas, Window - II

From Feb 3 Delivered Lecture for Course CPS616 -- Java Lecture 4 -- AWT Through I/O CPS616 spring 1997 -- Feb 3 1997. by Nancy McCracken * See also color IMAGE
Secs 51.8
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.


Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Sun Feb 16 1997