Вы находитесь на странице: 1из 1102

., .

JAVA 2
-. Java 2,
,
Java- Bean Swing,
C/C++ . Java-,
(word game).
,
http://www.osborne.com.

. JAVA
1. Java
Java
: C
C++
Java
Java
Java Internet
Java-

Java: -
Java


, 1.1
, 1.1
, 2
, 2
Java HTML
2. Java

1
3
5
9
11
11
12
13
15
15
17
18
18
19
19
21
21
22
22
23
23
23
24
24
24
25
25
26
27
27
29








if
for


Java
Java
3. ,
Java


byte
short
int
long

float
double
(char)
(boolean)





29
29
30
31
37
37
38
39
41
43
43
45
46
48
48
48
49
49
49
50
51
52
52
53
53
54
55
55
56
56
57
57
58
59
60
60
61
62
62
63
63
63
64



Java






C/C++
4.


















5.
Java
if
switch

while
do while
for


break
continue

65
68
68
69
70
71
72
72
75
80
80
81
82
82
83
84
85
86
88
90
92
94
96
97
98
100
102
102
103
104
105
106
106
106
110
115
115
117
120
125
125
126
130

return
6.




new


Box


this

""
finalize()
Stack
7.






final


String

8.




super
super
super

132
133
133
134
135
138
139
140
141
142
144
146
148
150
152
152
153
153
154
158
158
162
164
167
169
170
172
177
179
179
181
185
188
189
189
191
192
195
196
196
200
201
204



?


final
final
final
Object
9.


CLASSPATH








10.



try catch

catch
try
throw
throws
finally
Java


11.
Java


Thread Runnable

205
208
210
211
212
216
216
217
217
219
220
220
221
222
223
224
228
230
231
232
235
239
241
243
243
244
245
246
248
249
251
253
255
256
258
260
262
263
264
265
266
266
267



Runnable
Thread


isAlive() join()


synchronized

,
, Java 1.1

, Java 2

12. /,
/







PrintWriter

.
transient volatile
instanceof
strictfp
Native-
native-
II. JAVA
13.
String-




268
270
270
272
^74
274
276
?78
281
282
284
786
791
794
794
297
299
301
301
302
302
305
306
307
308
309
310
312
315
319
319
322
323
327
329
331
332
334
334
335
335
336

toString()

charAt()
getChars()
getBytes()
toCharArray()

equals() equalsIgnoreCase()
region Matches()
startsWith() endsWith()
equals() = =
compareTo()


substring()
concat()
replace()
trim()
, valueOf()

StringBitffer
StringBuffer
length() capacity()
ensureCapacity()
setLength()
charAt() setCharAt()
getChars()
append()
insert()
reverse()
delete() deleteCharAt()
replace()
substring()
14. java.lang

Number
Double Float
Byte, Short, Integer Long
Character
Boolean
Void
Process
Runtime

337
338
338
339
339
340
340
340
341
341
343
343
344
346
346
347
348
348
349
350
350
351
351
352
352
353
353
354
355
355
356
357
357
358
359
359
360
365
374
378
378
379
379



System
currentTimeMillis()
arraycopy()

Object
clone() Cloneable
Class
ClassLoader
Math



Math

Thread, ThreadGroup Runnable


Runnable
Thread
ThreadGroup
ThreadLocal InheritableThreadLocal
Package
RunrimePermission
Trowable
SecurityManager
Comparable
iava.lang.ref java.lang.reflect
java. lang.ref
java.lang.reflect
15. java.util:


Collection
List
Set
SortedSet
Collection
ArrayList
ArrayList-
LinkedList
HashSet
TreeSet

381
382
384
386
387
387
388
389
391
394
395
395
396
397
398
399
399
399
399
402
407
408
409
409
410
410
410
410
411
412
413
415
416
419
421
421
422
423
425
427
428
430
431


Enumeration
Vector
Stack
Dictionary
Hashtable
Properties
store() load()

16. java.util:
StringTokenizer
BitSet
Date

Calendar
GregorianCalendar
TimeZone
SimpleTimeZone
Locale
Random
Observable
Observable

java.util.zip
java.util.jar
17. /: java.io
/ Java
File

FilenameFilter
listFiles()


433
434
436
436
440
444
445
448
452
456
457
457
463
465
466
470
474
476
477
477
479
482
484
484
488
490
491
492
493
496
497
498
500
500
501
501
503
506
507
508
509
509
509

InputStream
OutputStream
FileInputStream
FileOutputStream
ByteArrayInputStream
ByteArrayOuputStream


SequenceInputStream
PrintStream
RandomAccessFile

Reader
Writer
FileReader
FileWriter
CharArrayReader
CharArrayWriter
BufferedReader
BufferedWriter
PushbackReader
PrintWriter
/
wc StreamTokenizer

Serializable
Externalizable
Object Output
ObjeclOiirpulStream
ObjectInput
ObjectInputStream


18.


-

Proxy-
Internet
Java

InetAddress

510
510
511
513
515
516
517
518
522
523
524
525
525
526
527
528
529
530
531
533
533
534
535
537
519
540
540
540
541
54?
541
545
547
548
548
544
549
550
551
552
552
553
553



TCP/IP
- ( Whois)
URL

URLConnection
TCP/IP :
proxy HTTP-

DatagramPacket


19. Applet

Applet



update()




<applet>


getDocumentBase() getCodeBase()
AppletContext showDocument()
AudioClip
AppletStub

20.




ActionEvent
AdjustmentEvent
ComponentEvent

554
555
556
558
559
559
561
562
563
564
584
584
585
587
588
588
589
592
593
594
595
596
598
599
602
603
605
606
608
609
611
611
611
612
612
613
613
614
615
615
617
618
618

ContainerEvent
FocusEvent
InputEvent
ItemEvent
KeyEvent
MouseEvent
TextEvent
WindowEvent
-

ActionListener
AdjustmentListener
ComponentListener
ContainerListener
FocusListener
ItemListener
KeyListener
MouseListener
MouseMotionListener
TextListener
WindowListener



-


21. AWT: ,
AWT

Component
Container
Panel
Window
Frame
Canvas




-
-
-

619
620
620
621
621
622
624
624
625
625
627
627
627
627
627
628
628
628
628
629
629
629
630
633
636
638
640
642
643
645
646
646
647
647
647
648
648
648
649
649
649
649
651



















FontMetrics




22. ,
AWT
.







CheckboxGroup
Choice
Choice




TextField
TextField
TextArea

656
658
658
659
660
661
662
663
664
665
665
666
667
668
670
671
673
675
676
678
680
681
685
686
687
687
688
688
689
690
693
694
695
697
698
700
701
703
705
707
708
709


FlowLayout
BorderLayout

GridLayout
CardLayout


FileDialog
AWT-
Button
Checkbox

Choice
List
Scrollbar
,
23.

,



ImageObserver
ImageObserver

MediaTracker
ImageProducer
MemoryImageSource
ImageConsumer
PixelGrabber
ImageFilter
CropImageFilter
RGBImageFilter

Java 2
24.
Java API

(RMI)
RMI- -

DateFormat

711
713
714
716
718
719
723
729
734
736
737
738
739
740
741
742
743
744
745
745
745
746
746
748
750
752
755
759
759
761
761
764
765
767
779
782
783
783
786
791
791
796
796

SimpleDateFormat
III.
25. Java Beans
Java Bean-?
Java Beans

Bean-
BDK
BDK
BDK
JAR-

jar

Bean-
Bean-

BeanInfo

Java Beans API


Bean-
26. Swing
JApplet

JButton

Swing-
27.

798
801
803
804
804
805
806
806
806
807
809
810
810
812
812
814
815
815
816
819
820
821
823
823
824
824
827
829
830
831
834
834
834
836
838
840
842
844
846
850
852
854
854


Java Servlet Development Kit


servletrunner
Web-
Servlet I
javax.servlet
Servlet
ServletConfig
ServletContext
ServletRequest
ServletResponse
SingleThreadModel
GenericServlet
ServletInputStream
ServletOutputStream
ServletException
UnavailableException


javax.servlet.http
HttpServletRequest
HttpServletResponse
HttpSession
HttpSessionBindingListener
HttpSessionContext
Cookie
HttpServlet
HttpSessionBindingEvent
HttpUtils
HTTP
GET- HTTP
POST- HTTP
cookie-



28. C++ Java
C++ Java
Java C++
, Java

855
856
857
857
858
858
858
859
860
861
861
862
863
864
864
864
865
865
865
865
867
869
870
871
873
874
874
874
876
877
878
878
878
880
881
884
885
886
887
887
887
889
890

C++

,
C++
Java
C++ Java-

C++
finalize()
IV. JAVA
29. DynamicBillboard
<Applet>

DynamicBillboard.java
BillData.java
BillTransition.java
ColumnTransition.java
FadeTransition.java
SmashTransition.java
TearTransition.java
UnrollTransition.java

30. ImageMenu: Web-

<applet>

init()
update()
lateInit()
paint()
mouseExited()
mouseDragged()
mouseMoved()
mouseReleased()

31. Lavatron:
Lavatron

<applet>
Lavatron.java
IntHash
HotLava

891
89?
894
896
899
903
905
907
911
913
913
915
915
923
925
927
930
933
937
941
945
947
949
950
951
951
951
951
951
952
952
952
953
953
955
956
956
958
958
959
963
966

32. Scrabblet:
967

967

968

971

975
Ter <applet>
975
Scrabblet.java
976
IntroCanvas.java
987
Board.java
989
Bag.java
1005
Letter.java
1007
ServerConnection.java
1012

1017
Server.java
1017
ClientConnection.java
1020
Scrabblet
1025
. Java 1027
javadoc
1027
@author
1028
@deprecated
1029
@exception
1029
{@link}
1029
@param
1029
@return
1029
@see
1030
serial
1030
@serialData
1030
@serialField
1030
@since
1031
@throws
1031
@version
1031

1031
javadoc
1032

1032

1034

A
appletviewer (
Accessibility API 853
) 588
Adapter classes 612, 636
AWT (Abstract Window Toolkit) 301,
API (Applicatin Programming Interface)
316,588
559, 783
B
API 783, 301
BDK (Bean Developer Kit) 804, 806
Bean- 804

big-endian (
) 55
C
CGI (Common Gateway Interface) 855
Class members ( ) 134
collections framework (
) 413
collection-view (
) 415, 438
Convenience routine (
) 570
Cookie- 874
CORBA (Common Object Request
Broker Architecture) 27
CPU (Central Processor Unit) 20
D
Daemon thread (""
) 401
Delegation event model (
) 613
Default access level 173
constructor 150
package 220
DLL (Dynamic Link Library) 324
DNS (Domain Naming Service),
552
Drag-and-Drop API 853
E
Endianness 55
escape- ,
62
Event loop with polling 264
F
Factory methods (
) 554
Finalization,
154
firewall (
) 967
G
GMT (Greenwich Mean Time) 490

GUI (Graphical User Interface



) 25, 642
H
HSB (Hue-Saturation-Brightness
"-") 665
HTML (HyperText Markup Language)

<applet> 28, 317, 603, 604


<img> 604
<param> 604
317, 589
HTTP (HyperText Transport Protocol)
854
I
IDL (Interface Defenition Language) 27
image-based menu 947
instance variables (
) 134
IP (Internet Protocol) 549
ISO (International Standartization
Organization) 493
J
JAR (Java ARchive) 26, 809
Java
Internet 16, 17
JAR- ( Java)
809
Java 18, 315
- (bytecode) 19

Java 2D 26
(Accessibility
library) 26
/
() 301
() 301
1.0 () 24
1.1 24
25
2 24
26

(WWW) 16
(compilation
unit) 38
C++ 887
(run-time)
20
15
26
19
()
19
17
(
C++) 889
Java 18, 315
(native) 20
, C++
890
C C++ 11
21
52
()
(.java) 37
(.class) 38,
39
11
48
- 11, 13
Java Beans 25, 787 API 812
Bean-
ActiveX 828
813
813
(customizer) 824
(constrained)
823
812
(bound
properties) 819
(persistence) 823

Bridge for ActiveX (


ActiveX) 828

Java Beans Migration Assistant


for ActiveX 828
BeanInfo 821
getEventSetDescriptors() 821
getMethodDescriptors() 821
getPropertyDescriptorsQ 821
812
SimpleBeanInfo 821
(design
patterns) 812
Java I/O system 302, 501
Java Security Manager 855
Java 2D API 853
java.awt.event () 612, 637
java.lang ()

Cloneable 389
Comparable 410
Runnable 399

Class 391-393, 787-789


ClassLoader 394, 395
Compiler 399
Component 589, 632, 633
Container 589
InheritableThreadLocal 407
Math 65, 395
Modifier 789 .
Object 217, 218, 388, 389
Panel 589
Package 408, 409
Process 379
Random 240, 398
Runtime 379381
Runtime Permission 409
SecurityManager 410
System 384-386
Thread 399-402
ThreadGroup 402-404
Throwable 409
Void 378

Boolean 378

Byte 366, 367


Character 374-376
Double 360, 362-364
Float 360-362
Integer 369-371
Long 371-373
Short 367-369
java.lang.reflect ( API)
Conctructor 787
Field 787
Method 787
java.lang.rmi ( API)
Naming 792, 793
java.util

Cloneable 479
Collection 416
Comparable 482
Comparator 445
Enumeration 477
Iterator 431
List 419
Listlterator 431
Map 437
Map.Entry 439, 440
Observer 496, 497
Set 421
SortedMap 439
Sorted Set 421

AbstractMap 441
Arrays 452
BitSet 479
Calendar 484
Collections 448
Date 482
Date Format 796798
Event Listener 413
EventObject 413
GregorianCalendar 488
HashMap 441
ListResourceBundle 413
Locale 492, 493, 796

Observable 496
Property Permission 413
PropertyResourceBundle 413
Random 493
Resource Bundle 413
SimpleDateFormat 798
SimpleTimeZone 491
StringTokenizer 477, 478
TimeZone 490
TreeMap 443
WeakHashMap 441
Dictionary () 465
Hashtable () 466,
467
Properties () 470
Stack () 463
Vector () 459
422
ArrayList 423
HashSet428
LinkedList 427
TreeSet 430
( Properties )
System.getProperties() 470
( ArrayList)
ensureCapacity() 425
toArray() 426
toString() 425
trimToSize() 425
( Arrays)
AsListQ 453
binarySearch() 453
equals() 453
fill()454
sort() 454
( LinkedList)
addFirst() 427
addLast() 427
removeFirst() 427
removeLast() 427
( )
add() 418

addAll() 418
clear() 418
contains() 418
containsAll() 418
equals() 419
isEmpty() 418
iterator() 419, 432
remove() 418
removeAll() 418
retainAll() 418
size() 418
subList() 421
to Array () 418
(
)
first() 421
headSet() 421
last() 421
subSet() 421
tailSet() 421
( )
get() 419
indexOf() 419
lastIndexOf() 419
set() 419
( Comparator)
compare() 445
equals() 445
( Map)
entrySet() 439
keySet() 438
values() 438
( SoitedMap)
firstKey() 439
headMap() 439
lastKey() 439
subMap() 439
( Map)
entrySet() 438
( Collections)
synchronized List() 451
synchronizedSet() 451

(
Enumeration)
hasMoreElements() 457
nextElement() 457
JDBC (Java Database Connectivity) 25,
886
JDBC API 886
JDK (Java Developer's Kit) 27, 37, 588,
806
appletviewer (
) 317

jar ( JAR-) 810


Java ( ,
) 27, 38
javac () 27, 38
javadoc (
) 27, 1027
javah.exe ( .h
) 324
JFC (Java Foundation Class) 853
JIT (Just In Time) 20, 27
JNI (Java Native Interface) 25, 323
JRE (Java Runtime Environment) 27
JSDK (Java Servlet Development Kit)
854, 856
JVM (Java Virtual Machine) 19, 27
L
Listener (
) 613
M
Manifest file 810
MIME (Multipurpose Internet Mail
Extensions) 854
Multicasting 614
Mutex (
) 281
N
Native- 885
NCSA 744
O
OOP (Object-Oriented Programming)
14, 29

ORB (Object Request Broker) 27


P
Pluggable look-and-feel 853
Preemptive multitasking
(
) 265
Protection domain ( ) 393
Proxy ( ) 968
R
RGB (Red-Green-Blue
"-") 666
RMI 24, 25, 783
rmiregistry 795
nm-time- 391
795
Remote 792
RMI 794

(stub) 793
(skelton) 794
791
539, 794
S
Scope (
) 65
Security manager 384
Servlet () 854
Servlet API 855, 858
set-view (
) 441, 469
skelton (), RMI- 794
subclasser responsibility method
(,
) 213
Swing 26
API 829
Swing- 846, 850
Icon 831
MutableTreeNode 847
SwingConstants 831
TreeExpansionListener 848

TreeNode 847
ScrollPaneConstants 844

AbstractButton 834
Container, Add() 831
DefaultMutableTreeNode 847
Image Icon 831
JApplet 830
JButton 834
JCheckBox 836
JComboBox 840
JComponent 831
JLabel 831
JRadioButton 838
JScrollPane 844
JTabbedPane 842
JTable 850
JTextComponent 833
JTextField 833
JTree 846
TreeExpansionEvent 848
Tree Path 847

pluf- (pluggable lookand-feel) 852



(tooltips) 852
- (progress bars)
852

javax.swing 830
javax.swing.event 848
javax.swing.tree 830

(root pane) 830


(glass pane) 830
(scroll pane) 844
(tabbed pane) 842
(content pane) 830
829
System.in.read() 119
T

TCP (Transmission Control Protocol)


549
Thread-safe (-)
451
Type wrappers (
) 359
U
UDP (User Datagram Protocol) 549
unicasting, 614
Unicode 25, 58, 302
URI (User Resource Identifier) 870
URL (Uniform Resource Locator) 559,
856
UTC (Coordinated Universal Time) 490
W
Web 28, 559
whitespace ( ) 48
X
XOR- 668

899
900

68, 160
(widening
conversion) 68
(narrowing conversion)
69
() 414

() 451
()
HTML- <applet> 589

594
destroy() 595
init() 594
paint() 595
start() 594
stop() 595
update() 595

AppletContext 609

AppletStub 611
AudioClip611
Applet
608609
611
885
605
596
drawstring() 596
getBackground() 597
getForeground() 597
getGraphics() 599
repaint() 598
setBackground() 596
setForeground() 596
596
599, 606
593

188
142, 146

51
( ) 46
Web 18

/
502
518
Externalizable () 540
FileFilter () 509
FilenameFilter () 507
ObjectInput () 542
ObjectOutput () 540
Serializable () 540
ArrayOutputStream () 516
BufferedInputStream () 518
BufferedOutputStream () 518,
520
ByteArrayInputStream () 515
File () 503
FileInputStream () 312, 511
FileOutputStream () 312, 513

FilterInputStream () 518
FilterOutputStream () 518
InputStream () 510
ObjectInputStream () 543
ObjectInputStream.GetField ()
502
ObjectOutput.Stream.GetField
() 502
ObjectOutputStream () 541
OnlyExt () 507
OutputStream () 510
OutputStream () 303
PrintStream () 309
PrintStream () 523
PushbackInputStream () 520
PushbackInputStream () 518
RandomAccessFile () 524
SequenceInputStream () 522
System () 303

FileNotFoundException 312, 527


IOException 307, 513, 528
SecurityException 513, 528

302
306
(stream) 302, 501
302
302
302, 525
502
502
BufferedReader () 307, 308
BufferReader () 531
BufferWriter () 533
CharArrayReader () 529
CharArrayWriter () 530
FileReader () 527
FileWriter () 528
InputStremReader () 306
PrintWriter () 534
PushbackReader () 533
Reader () 525

StreamTokenizer () 537
Writer () 303, 526

/ 303
(RMI) 791

(inline) 217

70
71

658

"" (demon)
1017
794, 539

208
393

() 424
- 429

410
3
154

Java 48
492
(interface) 899
AWT, LayoutManager 712
java.io.Serializable 824

231
231
232
243
ArrayIndexOutOfBounds Exception
455
ArrayStoreException 417, 418
ClassCastException 362, 377, 416
455
ClassFormatError 394

ClassNotFoundException 392, 395


CloneNotSupportedException 389
EmptyStackException 463
IllegalAccessException 393
IllegalArgumentException 454, 455
IllegalStateException 432
InstantiationException 393
InterruptedException 389, 401
NoSuchElementException 421439
NullPointerExceptiori 421, 437, 439
NumberFormatException 362
SecurityException 392
SecurityException 379, 384
UnsupportedOperationException
416, 419, 451
258
ClassNotFoundException 259
CloneNotSupportedException 259
IllegalAccessException 259
InstantiationException 259
InterruptedException 259
NoSuchFieldException 259
NoSuchMethodException 259
258
258
Arithmetic Exception 258
ArrayIndexOutOfBoundsExceptio
n 258
Array Store Exception 259
ClassCastException 259
IllegalArgumentException 259
IllegalMonitorStateException 259
IllegalStateException 259
IllegalThreadStateException 259
IndexOutOfBoundsException 259
NegativeArraySizeException 259
NullPointerException 259
NumberFormatException 259
SecurityException 259
StringIndexOutOfBoundsExceptio
n 259
UnsupportedOperationException
259

258
245
() 243
260
String getLocalizedMessage() 260
String getMessage() 260
String toString() 260
Throwable fillInStackTrace() 260
void printStackTrace() 260
void printStackTrace(PrintStream
stream) 260
void
printStackTrace(PrintWriterstrea
m) 260

catch- 246
fmally- 256
throw- 253
throws- 255
try- 246
try- 251
catch- 249
244
()
Error 245
Exception IllegalAccessException
255
Exception 244
ArithmeticException 245
RuntimeException 244
Runtime Exception
ArrayIndexOutOfBoundsExceptio
n 249
NullPointerException 254
Throwable 244
414, 419. 431

(map) 415, 436


133
Applet 316, 588
AppletContext () 588
AppletStub () 588
AudioClip () 588

589
AppletContext 588
AppletStub 588
AudioClip 588
589
AWT 643
AWTEvent 736
Button 690
Canvas () 648
Checkbox 693
CheckboxGroup 696
CheckboxMenuItem 724, 725
Choice 697, 698
Color 665, 666
Component 636673, 736
Container 646, 687, 715-720
Dialog (,
) 729
Dimension 648, 664
Dimention 787
FileDialog 734, 735
Font 670
FontMetrics 676678
Frame 647649
Graphics 660668
GraphicsEnvironment 671, 672
ItemEvent 725
Label 688
List 700, 701
Menu 723
MenuBar 723
MenuItem 723
Panel () 647
PopupMenu 729
Scrillbar 704, 705
TextArea 710
TextField 707, 708
Window 647, 730

648
668
643
Component 589

Container 589
java.util 796
java.util.DateFormat 796-798
java.util.SimpleDateFormat 798
LANG
Class 787, 789
Modifier 789
Math 65
Object 217, 218
Panel 589
public 224
Random 240
REFLECT
Conctructor 787
Field 787
Method 787
RMI, Naming 792, 793
String 80, 185, 186, 331
StringBufferl85, 331
System 51, 305
213, 235
181
182
182
25, 182, 638
185, 640
33
33
33
230
133
133
457
32

189
(peer classes) 185
232
548

189
32
32

(
) 32
(clone) 389
50
abstract 213, 235
class 39, 134
extends 189, 241
final 179, 216
interface 219, 230
native 323
static 40, 177
strictfp 322
super 177, 196
this 152
transient 319, 824
volatile 319

catch 244
finally 256
throw 244
throws 244, 255
try 244

private 40, 173, 224
protected 173, 224
public 40, 173, 224
( ) 46
() 412
(modifiable) 416
(unmodifiable) 416
451
() 451
39
49
1027
39
40
(comparator) 444
Java Beans 787
49
(constructor) 139, 148
super() 196, 204

139, 150
C++ 415
(fillRatio) 429

(token) 477, 537


() 477
60
493

() ,72
75
74, 78
72
80
72
(security
manager) 384, 410
(layout
manager) 712
BorderLayout 714
CardLayout 719, 720
FlowLayout 713
GridLayout 718
716
(image-based
menu) 947
134
clone() 218
equals() 218
finalize() 154, 218
getClass() 218
hashCode() 218
main() 65
notify() 218
notifyAll() 218
toString() 218
wait() 218
213

208
591
134

213
158
(overrided) 206
(factory) 554,
925
getAllByName() 554
getAllByName() 554
getLocalHost() 554
170
(convenience method) 998
makeMimeHeader() 570
toBytes() 570
writeTo() 517

291
263
(
) 263
263
(
) 263
265
889
abstract 213
transient 319
volatile 319

(
) 494

(Swing)
829
(type
wrappers) 359

() 613, 625
,
614
614, 632
626
Action Listener 627, 690
AdjustmentListener 627
ComponentListener 627

ContainerListener 627
FocusListener 627
ItemListener 628, 694, 698
KeyListener 628
MouseListener 628
MouseMotionListener 628
TextListener
WindowListener 629
626
- 612, 636
, 612
637

613, 625
AWT 736
737
(multicasting)
614

keyPressed() 633
keyReleased() 633
keyTyped() 633

java.awt.event 612, 637
(unicasting)
614
331
338

Object 337
String 331-350
StrmgBuffer 331-357
335
336
344
335
() 133
169
32, 133
168
32

(-
)

189
()
import 228
null () 116
package 220
43
106-109
126132
() 115, 117,
120

() 104
. (dot) 104
[ ] 104
new
138

82
96
89
89

instanceof 82
100

98

88

90
86
87
() 102
95
() 104
(shorHcirquit) 102
(reflection) 411, 783, 786

()
AWT642

(layout
manager) 686, 712
658
, 724
665
670
(menu bar) 686
(controls)
686
java.applet 301, 316, 588
java.awt 588
java.awt.dnd 853
java.awt.event 612, 636
java.beans 824
824
824
java.io 301, 303, 501
502
501
java.lang 258, 305, 331, 358
Number () 359
358
358
java.lang.ref 410
java.lang.reflect 411, 783
Member () 787
787
java.net (
Internet) 548
java.rmi 783
java.text 783, 796
java.util 412, 477
413
412
java.util.jar 500
java.util.zip 500
javax.servlet 857, 858
javax.servlet.http 869
221
228
173
220

(default package)
220

723
723
API () 783
() 40, 141, 146
(pointer
parameters) 892
(overloading) 158

167
167

65
64
64
64
(array variable) 72

65
(class
scope) 65
(method
scope) 65

CLASSPATH 221
41, 63
() 140
120
63

length 180
134
(overriding)
593
(sandbox) 885
899
158
263
266
267
268

269

() 284
265
281
286
266
265
268


287

Java 264

Runnable () 267
synchronized ( )
282
Thread (),
267, 279
263
() 266, 281

284

, 285

265
278
(
) 284

264

(collection-view) 415, 438
(setview) 441, 469

(trancation) 69
( )
(cast) 69
(whitespace)
space, tab, newline 48


,
30

30

803
- ()
14, 29, 30
30

(, ,
) 31, 33, 34
31

- 30

30

30
899
(
) 379
493

Internet 548
DNS (Domain Naming Service)
MIME
564
564
User-Agent 573
564

IP 549, 552
URL 559
(multicast) 555
552
552

Web 550

584
553

553
DatagramPacket 584
DatagramSocket 584
InetAddress 553555
ServerSocket 556, 562
Socket 556, 557
URL 559
URLConnection 561
549
- 549
554

(firewall) 967
549
550
()
file 559
ftp 559
gopher 559
HTTP (HyperText Transfer
Protocol) 550, 559
IP (Internet Protocol) 549
TCP (Transmission Control
Protocol) 549, 553
TCP/IP 549
UDP (User Datagram Protocol)
549, 553
whois 559
WWW (Web-) 559
584

550
() 549
DNS 556
InterNIC 556
proxy 551
Web 549, 550
549
549
555
proxy HTTP 551,
563
(unieast) 792

549
(replicated)
792
(proxy) 968
()
Berkeley 549
TCP/IP (
) 556
548
549
- 553, 554, 968

Web- 744
753
(
) 744

ImageObserver 748
ImageProducer 746, 759

Applet 746
Component 765
FilteredImageSource 764
Graphics 746
Image744, 745
ImageFilter 764
ImageFilter.AreaAveragingScaleF
ilter 764
ImageFilter.CropImageFilter 764,
765
ImageFilter.ReplicateScaleFilter
764
ImageFilter.RGBImageFilter 764,
767
MediaTracker 756
MemoryImageSource 759
PixelGrabber 762
779

746

(image observer) 747


745

java.awt 744
Java.awt.image 744
javax.servlet 857859
javax.servlet.http 858, 869

(image produsers) 759
FilteredImageSource 759
MemoryrmageSource 759

GIF 745
JPEG 745
49
() 55,
71
170

"" 153

217
217
(session) 884
()
HTTP- 854
HTTP- 854
HTTP-
GET 878
POST 878, 880
(query string) 880
HTTP- 854
MIME- text/html 854
text/plain 854
Servlet API 859
JSDK 856

HttpServlet, 876
HttpServletRequest,
870
HttpServlet Response,
871
HttpSession, 873

HttpSessionBindingListener 874
HttpSessionContext 874
Servlet, 860, 864
ServletConfig,
861, 864
ServletContext,
861
Servlet Request,
862
ServletResponse,
863

GenericServlet 855864
HttpServletResponse 876
HttpSessionBindingEvent 877
HttpUtils, 878
ServletException 865
ServletInputStream 864
ServletOutputStream 865
ServletRequest 865
UnavailableException 865
885
885

HttpSession 884
getSession() 884
getValue() 884
putValue() 884
removeValue() 884

884
servletrunner 856
794
(serialization) 539

(type signature) 205



(whitespace)
477
477
(parsing) 477
( ) 477

614
625

ActionEvent 617, 690, 701
AdjustmentEvent 618, 705
ComponentEvent 618, 619
ContainerEvent 619
EventObject () 615,
616
FocusEvent 620
InputEvent 620, 621
ItemEvent 621, 701, 702
KeyEvent 621, 622
Mouse Event 622, 623
TextEvent 624
WindowEvent 624
615

616
613
(socket)-
302
173, 224
private 173, 224
protected 173, 224
public 40, 173, 224

233
411
411
411

177
177
177

185
187
(collections
framework) 413

, 53

173
173

CAB (file cabinet) 842


JAR ( Java) 809
(manifest file) 810
( Frame) 648
setDim 148
X

- 647
() 429
- 361, 429


HSB 665
RGB 666
810

899

Оценить