Java Reference
In-Depth Information
What You Should Know
Having completed this chapter, you should now be able to perform the tasks
shown in Table 2-10.
Table 2-10
Chapter 2 What You Should Know
TASK NUMBER
TASK
PAGE
1
Start TextPad
53
2
Display Line Numbers in the TextPad Window
55
3
Save a TextPad Document
57
4
Code Comments
63
5
Code the Class Header
66
6
Code the Method Header
69
7
Enter Code to Display Output and Save the Program File
71
8
Compile Source Code
73
9
Run the Application
78
10
Code the Import Statement
81
11
Code a Call to a System Date Constructor
83
12
Code Escape Characters to Format Output
84
13
Enter Code to Concatenate String Data
86
14
Recompile and Run the Application
87
15
Print the Source Code
88
16
Quit TextPad
89
17
Start TextPad and Open an Existing File
90
18
Code Import Statements
93
19
Edit the Class Name and Extend the Applet Class
94
20
Code the paint() Method Header
96
21
Code the drawString() Methods
97
22
Enter Code to Draw an Image and Set the Background
99
Color
23
Save the Source Code File with a New File Name
100
24
Compile the Applet
101
25
Code an HTML Host Document
102
26
Run an Applet
105
27
Document the Applet and HTML Host Document
107
28
Quit TextPad
110
 
Search WWH ::




Custom Search