|
background color for frames, 271, 275–276
backslashes (/) in filenames, 249–250
backward compatibility, 228
BarAndTF class, 356
BarAtNorth class, 317
BarChart class, 183, 185
bars (|)
for bitwise operator, 40–41
for boolean operator, 46–48
in compound assignment, 51
for short-circuit operator, 49
base-2 code, 17
base-2 notation, 21
baselines
defined, 468
for text, 283, 283
batch files, 398
bin directory, 397, 397
binary operators
defined, 468
symbols for, 37
bits
defined, 468
in memory, 3
opcode and argument, 6, 6
bitwise operations
defined, 468
process, 40–41, 40–41
right-shift, 43–44, 43
BlackLineOnWhite class, 278
blocks
catch. See catch blocks
defined, 468
for if statements, 74
scope in, 68
blue color, 273–274
BlueRect class, 279
Boats class, 297–298
body of methods, 59
bold font style, 284–285
BoolArrayLab animated illustration, 108, 108–109
Boolean class, 226
boolean data type
defined, 468
for if statements, 74
for logical values, 25
wrapper class for, 240
boolean operations
comparison, 50–51
evaluation of, 46–48, 47–48
short-circuit, 49–50
BooleanOps class, 46–47
BoolLab animated illustration, 47–49, 47–48
border layout managers, 313, 317–320, 317–319
bounding boxes
defined, 468
for ovals, 280–281, 281
BoxLayout layout manager, 325
break statements
labeled, 94–97
in loops, 88–89
in switch statements, 79–81
breaking out of loops, 88–89
BtnInAFrame class, 294
bugs, finding, 206
buildColorChoice method, 370, 373
Button class, 293
buttons
in flow layout managers, 316
working with, 293–295, 293, 295
byte data type
defined, 468
range of, 21
with result types, 52–53, 53
wrapper class for, 240
bytecode
defined, 468
in JVM, 19
bytes, 3, 3
addresses of, 4, 4, 12
on disks, 248–249
reading, 249, 254–255, 256
writing, 249, 251–252, 253
|