|
TAInnaFrame class, 311
Talker interface, 188
tan method, 243
ternary operator
defined, 473
operation of, 76–77
text
drawing, 283–286, 284–286
in final project, 379, 379
text areas
events from, 353–355, 354–355
working with, 310–312, 311–312
text characters, 25
text fields
events from, 353–355, 354–355
in flow layout managers, 316
working with, 309–310, 310
text files, 263
text listeners, 353
TextAreaNim class, 344–345
TextField constructor, 309
TextListener interface, 353
textValueChanged method, 353
TFs class, 309–310
Thermometer class, 135
this keyword, 131
this-reference notation, 131
threads
defined, 473
in event-driven programs, 332–333
ThreeOvals class, 280
throw keyword, 200, 473
throwing exceptions
checked exceptions, 217–220
process, 200–201
throws keyword, 200
tildes (~) in bitwise operations, 40, 40
toLowerCase method, 230–232, 231–232
toString method, 226
in Object, 236–238
in String, 239
toThe5th method, 59–61
toUpperCase method, 230–232, 231–232
traditional comments, 36
Transport class, 149–150, 149
Triangle class, 133
trim method, 233
trinary operator, 37
true value, 25
truncation
defined, 473
with division, 40
try blocks, 205
defined, 473
working with, 202–203
Tuna class, 177–178
two-dimensional arrays, 106–107, 106
TwoBars class, 312–313
two’s complement format
defined, 473
for integer types, 21–23, 22
|