|
garbage collection
defined, 470
purpose of, 114–115
threads for, 332
garbage collection threads
defined, 470
purpose of, 332
getAvailableFontFamilyNames method, 286
getAverageTemp method, 135–136
getColorFromChoice method, 371–373
getDirectory method, 367
getFile method, 367–368
getLineNumber method, 265
getLocalGraphicsEnvironment method, 286
getMass method, 65–66
getMessage method, 201–202, 219
getNumEnvelopesInStock method, 210–211, 218–220
getRainfall method
error codes for, 198–200
exceptions for, 200–203
getSalary method, 174–175
getSelectedColor method, 374–375
getSelectedIndex method, 353, 374
getSize method
in Canvas, 380
in Frame, 282
getSource method
in ActionEvent, 340
in ItemEvent, 352–353
getState method, 353
getters, 173
getvalue method, 355
getWeightKg method, 180–181
getWeightLbs method, 181
graphical user interface (GUI)
classes for, 228
events in. See events
painting in. See painting
GraphicOutputNim class, 346–347
Graphics class, 277–282, 278–281
graphics contexts, 277
graphics objects, 277
GraphicsEnvironment class, 286
greater than signs (>)
for comparisons, 50
in compound assignment, 51
in shifting operations, 42
green color, 273–274
GridBagLayout manager, 325
GridLayout manager, 325
GUI (graphical user interface)
classes for, 228
events in. See events
painting in. See painting
GUI threads
defined, 470
in JVM, 332–333
|