Teach Yourself Java in 21 Days


Download 5.76 Mb.
Pdf ko'rish
bet13/39
Sana04.10.2023
Hajmi5.76 Mb.
#1691415
1   ...   9   10   11   12   13   14   15   16   ...   39
Bog'liq
Learn Java

Day
12
Managing Simple Events and Interactivity
217
Mouse Clicks .......................................................................................... 218
mouseDown and mouseUp ................................................................... 219
An Example: Spots ............................................................................. 220
Mouse Movements ................................................................................. 223
mouseDrag and mouseMove ................................................................. 223
mouseEnter and mouseExit .................................................................. 223
An Example: Drawing Lines .............................................................. 224
Keyboard Events ..................................................................................... 228
The keyDown Method ....................................................................... 228
Default Keys ...................................................................................... 229
030-4 FM
1/29/96, 8:11 PM
13


Teach Yourself JAVA in 21 Days
M
T W
T F
S S
21
xiv
P2/V4SQC6 TY Java in 21 Days 030-4 louisa 12.31.95
FM LP#4
An Example: Entering, Displaying, and Moving Characters .............. 229
Testing for Modifier Keys .................................................................. 232
The AWT Event Handler ....................................................................... 233
Summary ................................................................................................ 235
Q&A ...................................................................................................... 235

Download 5.76 Mb.

Do'stlaringiz bilan baham:
1   ...   9   10   11   12   13   14   15   16   ...   39




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling