[Top] [Prev] [Next] [Bottom]
Page 26 out of 38 total pages
, Page 25 out of 37 pages in this chapter
Java Menus
Builder Xcessory allows you to create Java applications, including those with a menu system. However, Builder Xcessory does not make certain restrictions on the creation of the application interface that are enforced by the AWT objects and toolkit. It is therefore possible to create a menu system that is not considered valid in AWT usage.
Creating AWT applications
To create a valid AWT application, observe the following conventions:
· AwtMenuBar should be a child of AwtFrame only, not of other containers.
- AwtMenu should be a child of AwtMenuBar only.
- AwtMenuItem, AwtCheckboxMenuItem, and AwtMenuSeparator should be created as children of AwtMenu (pane), or of AwtPopupMenu only, and as separate top-level objects.
[Top] [Prev] [Next] [Bottom]
Page 26 out of 38 total pages
, Page 25 out of 37 pages in this chapter
info@ics.com
Copyright © 1998, Integrated Computer Solutions, Inc. All rights
reserved.