|
E variable, 244
earnsMoreThan method, 175
East region, 317–319, 318–319
Edit menus, guidelines for, 308
editors for source files, 400, 404
ellipsis (...)
for button labels, 336
defined, 470
for dialog boxes, 309
else statement, 74–75
else if statement, 76
Employee class
overriding in, 179, 179
private access in, 174–175
as superclass, 142–143, 143, 145
empty strings, 229, 470
EmptyFrame class, 271–272
environment variable, 169
equal signs (=)
in arithmetic operations, 38
for assignment, 27
for comparisons, 50
for reference equality, 234
equality
object, 234, 234, 236
reference, 234, 234
equals method
in Object, 236
in Point, 236
in String, 233–234
equalsIgnore method, 233
error codes and messages, 27, 198–200
escape codes, 28
EvaluatorLab animated illustration, 39–40, 39
event dispatch threads, 332–333
event-driven programs, 330–332, 331
defined, 470
threads in, 332–333
Event Lab animated illustration, 354–355, 354
events, 330
actions for, 333–339, 335–339
from checkboxes, choices, and items, 351–353, 351, 353
defined, 470
exercise questions for, 357–358
exercise solutions for, 454–460
information from, 339–343, 340, 342
from menus, 355
in Nim game, 342–351, 342–344, 346, 349
from scrollbars and adjustments, 355–356, 356
from text fields and text areas, 353–355, 354–355
Exception class, 200, 205, 215
exceptions, 198
catching, 202–203
checked, 205
with stack traces, 216–217
throwing, 217–220
working with, 208–209
defined, 470
exercise questions for, 220
exercise solutions for, 438–440
families of, 205–206
real world, 203
runtime, 205–208
throwing, 200–201, 217–220
exclamation points (!)
for comparisons, 50
for inversion, 46–48
exclusive or operators
bitwise, 40–41
boolean, 46–48, 47–48
executing bytes, 5
exit codes, 242
exit method, 242
exponents in scientific notation, 24
expressions in switch statements, 78
extending interfaces, 194–195
extends keyword, 142–143, 194
|