Changes to AppFrame

In Chapter 7, we saw how a status bar could be added to the AppFrame, and now we will revisit the {constructor} method code to integrate the menu bar into the application MDI frame. The new code required is shown in Figure 9-33.

Figure 9-33. AppFrame.constructor method listing.
 ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| || File: AppFrame.scurl || Author: Paul Sheehan || Version: 1.0 || Contents: This is the Application Frame ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| {define-class public AppFrame {inherits Dialog} … field protected menu-bar-manager:#MenuBarManager ||||||||||||||||||||||||||||||||||||||||||||||||||||||| || Method: constructor (default) || Purpose: Instantiates the class ||||||||||||||||||||||||||||||||||||||||||||||||||||||| ...

Get Enterprise Curl now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.