The GUI constructor begins in Listing 2.
Code in constructor is used to:
Listing 2. Beginning of the GUI constructor. |
---|
class GUI{ public GUI(){//constructor //Create new Frame object Frame displayWindow = new Frame(); displayWindow.setSize(300,200); displayWindow.setTitle( "Copyright 1997, R.G.Baldwin"); |
File: bm.htm | [Next] | [Prev] |