Chapter 16 Database Client | ||
Explanation of CodeThe MDI classThe setup() method calls the createMenuComponents() method to create menus. Further, it gets a reference to the remote object. The getServerObject() method returns a reference to the remote object. The createMenuComponents() method is used to create a menu bar, menus, and menu items. The setMDISize() method is used to set the size of the main window to the current screen size. This method gets a ToolKit object to interact with the operating system. The main() method simply creates an instance of the MDI class.
|
||
|
||
Copyright © 2001 www.universalteacher.com |
||