JaVa
   

S

sampled sound, playing, 343-347 scaling, 231 scope, 51-52 screen management system, creating, 412-429 demo, 430-438 screens, integrating into framework, 436-438 scroll bar, using with JList class, 37-40* SELECT statements, using, 533-537 selector, 635 Serializable interface, 171 serialization, 170 using, 170-175 setColor method, 226-227 setLength method, 84 shapes, drawing, 228-230 shearing, 231 short data type, 16 show method, 287 signed applet, 207 sleep method, 191-192 .snd format, 339 sockets, 573-574 Sound API, see Java Sound API sound example, applet, 339-341 app, 342-343 sound formats, 339 SoundManager class, creating, 357-364 using, 368-371 sprite transparency, creating, 245-250 SQL, 507 statements, 518 using, 507-509 Stack class, 140 using, 140-142 StandardClock class, creating, 391 static block, 101-102 static keyword, 11-12 static methods, synchronizing, 187-188 static nested class, 95 creating, 95-97 stream socket, 574 streaming audio, 347-348 using, 348-354 streams, 155 string, 65-66 concatenation, 66-67 literal, 66 using with escape sequences, 67-69 String arrays, 69-70 String class, 72 string data, manipulating, 76-78 retrieving, 74-76 String object, creating, 66 string values, comparing, 72-74 StringBuffer class, 80-81 constructors, 81 determining capacity, 84-85 determining length, 84 manipulating data in, 82-84 StringTokenizer class, 85-87 Structured Query Language, see SQL subclass, 102 substring method, 74 subtraction assignment operator, 26 subtraction operator, 22 super class, 102 super keyword, 106, 109 Swing, 198 components, 476-477 versus AWT, 221, 225-226 switch statement, 37-40 synchronization, 183-185 synchronized drawing, 272-273 painting, 278-284 synchronized keyword, 185, 312 System class, 133-134
JaVa
   
Comments