Java Reference
In-Depth Information
What You Should Know
Having completed this chapter, you now should be able to perform the tasks
shown in Table 6-6.
Table 6-6
Chapter 6 What You Should Know
STEP
TASK
PAGE
1
Start a New Java Program in TextPad
385
2
Enter Beginning Code
388
3
Enter Code to Create the Menu System
391
4
Enter Code to Initialize Calculator Variables
393
5
Construct the Buttons and Set the Layout Managers
395
6
Create the User Interface
397
7
Code the windowClosing() Method
398
8
Save the Coding Window
399
9
Enter Code to Search for the Exit and Clear Commands
403
10
Enter Code to Search for the Copy and Paste Commands
404
11
Enter Code to Search for the About Command
406
12
Enter Code for the Numeric and Decimal Point Button Clicks
408
13
Enter Code for the First Operator Button Click
409
14
Enter Code for Subsequent Operator Button Clicks
410
15
Enter Code for the Equal Button Click
412
16
Code the main() Method
413
17
Compile and Run the Application
414
18
Test the Application
415
19
Test the Menu System
416
 
Search WWH ::




Custom Search