764
Java programs elements(continued)
input, 67–70
interactive input and output, 70
output, 64–67
syntax and semantics, 42
syntax templates, 42, 45–46
java.text,DecimalFormatclass in, 602
Java2 platform, 661
java.util.Date, 179
java.utilpackage, 344
Dateclass in, 360
Randomclass in, 672
Vectorclass in, 592
Java Virtual Machine, 13, 14, 15, 22, 34, 72,
132, 231, 256, 341, 467, 664
applications executed by, 77
Bytecode executed by, 660, 667, 669
Bytecode produced by Java Compiler for
running on machines with, 14
compilation/execution of Bytecode
combined with
compilation/execution of, 16
and data storage, 49
and disposemethod, 411
and event handling, 395
and exception objects, 437
and generating exception with throw,
435, 436
and instantiating file objects, 215
IOExceptionforwarded to, 432
rounding performed by, 595
and static/dynamic binding, 561
variable declaration initializations by,
340
JButtonclass, 385, 386, 421, 661
and calculator case study, 413
and Stationclass, 403
JButtondeclaration, example of, 386
JButtonobject, instantiating, 386
JComponentclass, 333, 335, 336, 337
JFrameclass, 376, 421, 661
and calculator case study, 413
JFramefield, value assigned to, 377
JFrameobject, dispose method and, 411
JFramevariable, declaring, 376
JLabel.CENTER, 384
JLabelclass, 380, 661
and calculator case study, 413
and Stationclass, 403
JLabelconstructor, 397
JLabel.LEFT, 384
JLabel.RIGHT, 384
JLabels, 421
JTextFieldcontrasted with, 397
text alignment within, 384
Jobs, Steve, 478
Jordan, F. W., 41
JPanelclass, 405, 421
JTextComponent, 334, 335
JTextFieldclass, 334, 335, 336, 337, 421, 661
and calculator case study, 413
data entry field as object of, 397
hierarchy of component objects, 333
JLabelcontrasted with, 397
signatures and constructors in, 347
and Stationclass, 403
JTextFieldobject, 397
Julian day, 179, 180, 207, 291, 343
Julian day formula, 292
JVM.SeeJava Virtual Machine
K
Kaissa, 431
Kasparov, Garry, 658
Kay, Alan, 430
Kemeny, John, 324
Kepler, Johannes, 121
Keyboards, 21, 22
Key member, 524
Keypunch, 40
Kilby, Jack, 268, 325
Knowledge responsibilities, 280
in address book case study, 306
algorithms for, 293
Kurtz, Thomas, 324
L
LabelDriverclass, CRC card for, 563
Labelobject, creating with new, 397
Labels, 420
for frames, 380, 382, 383, 391
LAN.SeeLocal area network
Lardner, Dionysius, 338
Large-scale integration, 431