SafeServer.java, Example 7-1
SafeServer.policy, Example 7-2
sampled audio
see sound
SAX
see XML
SAXParser, Example 19-1
SAXParserFactory, Example 19-1
scanner
see tokenizer
Scribble.java, Example 16-3
ScribbleApp.java, Example 11-15
ScribblePane.java, Example 11-13
ScribblePane1.java, Example 11-10
ScribblePane2.java, Example 11-11
ScribblePane3.java, Example 11-12
scribbles
a complete application, Example 11-15
cut-and-paste, Example 14-5
drag-and-drop, Example 14-5
drawing, Example 11-10, Example 11-11, Example 11-12, Example 11-13
in an applet, Example 16-3
low-level event handling, Example 11-13
with anonymous event listeners, Example 11-11
SecretKey, Example 7-5
SecretKeyFactory, Example 7-5
SecureService.java, Example 7-3
Security
addProvider( ), Example 7-5
security
(see also cryptography)
an untrusted class, Example 7-3
cryptographic checksums, Example 7-4
cryptography, Example 7-5
decryption, Example 7-5
digital signatures, Example 7-4
encryption, Example 7-5
encryption key generation, Example 7-5
example policy file, Example 7-2
loading untrusted classes, Example 7-1
message digests, Example 7-4
triple DES algorithm, Example 7-5
X509 certificates, Example 5-6
security manager
installing, Example 7-1
SecurityException, Example 7-3
SecurityManager, Example 7-1
SelectionKey, Example 6-11, Example 6-13
Selector, Example 6-11, Example 6-13, Example 6-14
wakeup( ), Example 6-14
sending email, Example 5-3
SendMail.java, Example 5-3
Sequence, Example 17-3, Example 17-5
Sequencer, Example 17-3, Example 17-4, Example 17-5
SerialIntList.java, Example 10-2
Serializable, Example 21-5, Example 21-6
serialization
custom, Example 10-2
deep clone, Example 10-1
deserializing an exception, Example 20-2
Externalizable interface, Example 12-16
Externalizable objects, Example 10-3
from file, Example 10-1
in counter servlet, Example 20-3
of exceptions, Example 11-18
of MUD objects, Example 21-5
of shapes, Example 12-16
of Swing components, Example 11-30
readObject( ) method, Example 10-2
to file, Example 10-1
transient fields, Example 10-2
version numbers, Example 10-3
with XMLEncoder, Example 11-30
writeObject( ) method, Example 10-2
Serializer.java, Example 10-1
server
multithreaded, extensible, Example 5-10
Server.java, Example 5-10
ServerSocket, Example 5-8, Example 5-9, Example 5-10
accept( ), Example 5-8
setSoTimeout( ), Example 5-10
ServerSocketChannel, Example 6-10, Example 6-11
Service inner interface, Example 5-10
ServiceUI, Example 13-3
Servlet
destroy( ), Example 20-3
init( ), Example 20-3
ServletConfig, Example 20-3
ServletContext, Example 20-9
servlets
(see also JSP)
and JDBC, Example 20-8, Example 20-9
and serialization, Example 20-2
configuration, Example 20-14
controller, Example 20-9
counter, Example 20-3
database for persistance, Example 20-8
defining init parameters, Example 20-14
destroy( ) method, Example 20-3
dispatching to JSP pages, Example 20-9
error responses, Example 20-2
factory for beans, Example 20-8
handling actions, Example 20-9
hello world, Example 20-1
init parameters, Example 20-3
init( ) method, Example 20-3
JavaBean as model, Example 20-7
JSP view page, Example 20-10
logging, Example 20-9
mapped to multiple URLs, Example 20-9
MVC architecture, Example 20-9
name-to-class mappings, Example 20-14
plain text responses, Example 20-2
POST requests, Example 20-2
reading init parameters, Example 20-9
reading POST data, Example 20-2
reading request attributes, Example 20-3
request parameters, Example 20-1, Example 20-3
request URI, Example 20-3
sending error, Example 20-9
session attributes, Example 20-1
URL mappings, Example 20-14
web application configuration, Example 20-14
web applications, Example 20-9
Set, Example 5-10
Shape, Example 12-6, Example 12-15, Example 12-16
Shapes.java, Example 12-6
ShortMessage, Example 17-5
ShowBean.java, Example 11-30
ShowClass.java, Example 9-1
Sieve.java, Example 1-15
Signature, Example 7-4
signatures
digital, Example 7-4
SimpleBeanInfo, Example 15-6
SimpleDaytimeServer.java, Example 6-10
SimpleDoc, Example 13-3
simplelog.xsl, Example 19-4
SimpleMenu.java, Example 8-4
SimpleProxyServer.java, Example 5-9
sleeping, Example 17-1
Socket, Example 5-4, Example 5-5, Example 5-6, Example 5-6, Example 5-7, Example 5-8, Example 5-9, Example 5-10
Socket.getInputStream( ), Example 5-4
Socket.getOutputStream( ), Example 5-4
Socket.setSoTimeout( ), Example 5-4
SocketAddress, Example 6-11
SocketChannel, Example 6-9, Example 6-10, Example 6-11, Example 6-14
asynchronous connect, Example 6-14
select( ), Example 6-14
SocketFactory, Example 5-6
sorting
numbers, Example 1-14
SortNumbers.java, Example 1-14
sound
balance, Example 17-3
beeping, Example 17-1
console bell, Example 17-1
MIDI tempo, Example 17-3
monitoring progress, Example 17-3
muting MIDI tracks, Example 17-3
playing midi, Example 17-3
playing sampled audio, Example 17-3
skipping, Example 17-3
stopping, Example 17-3
volume, Example 17-3
with applet API, Example 17-2
with AudioClip, Example 17-2
with javax.sound, Example 17-3
converting audio formats, Example 17-4
converting to PCM, Example 17-4
creating MIDI events, Example 17-5
creating MIDI sequences, Example 17-5
for Swing components, Example 11-28
MIDI, Example 17-5
MIDI event listener, Example 17-4
MIDI percussion, Example 17-6
MIDI synthesizer, Example 17-6
setting MIDI tempo, Example 17-5
streaming audio, Example 17-4
streaming MIDI, Example 17-4
transcoding sampled audio, Example 17-4
writing MIDI files, Example 17-5
SoundPlayer.java, Example 17-3
SourceDataLine, Example 17-4
Spiral.java, Example 12-15
SQL
see JDBC
SSL, Example 5-6
SSLSocket, Example 5-6
SSLSocketFactory, Example 5-6
StackTraceElement, Example 11-18
Statement, Example 18-1, Example 18-3, Example 18-4, Example 21-3
statements
assert, Example 2-7
catch, Example 1-11
assert, Example 2-9, Example 2-10, Example 3-7, Example 6-6, Example 19-6
for, Example 1-2
switch, Example 1-6
synchronized, Example 4-2
throw, Example 1-7
volatile, Example 4-6
statistics, Example 2-6
stream subclass, Example 3-6
StreamPrintService, Example 13-3
StreamPrintServiceFactory, Example 13-3
StreamResult, Example 19-2, Example 19-3
StreamSource, Example 19-3
StreamTokenizer, Example 9-2
String, Example 1-5
StringBuffer, Example 1-13
strings
decoding from bytes, Example 5-6, Example 6-6
encoding to bytes, Example 6-10
StringTokenizer, Example 5-7, Example 11-22, Example 11-27, Example 15-1
StringWriter, Example 4-3
stripping HTML tags, Example 3-6
Stroke, Example 12-9, Example 12-17
stroking lines, Example 12-9
Stroking.java, Example 12-9
struts, Example 11-5
stylesheets
XSL, Example 19-3, Example 19-4
subclassing, Example 2-3, Example 2-4
Swing
a basic application, Example 11-30
a complete application, Example 11-15, Example 11-21
a web browser, Example 11-21
Actions defined with reflection, Example 11-16
animation in a message line, Example 11-21
audio cues playlist, Example 11-28
changing look-and-feel, Example 11-30
closing windows, Example 11-15
container classes, Example 11-1
containment hierarchy, Example 11-1
custom component, Example 8-1, Example 11-14, Example 11-17, Example 15-1, Example 15-3, Example 15-9, Example 17-3
custom dialog, Example 11-17
custom event and listener, Example 15-3
custom event class, Example 11-14, Example 15-4
custom event listener, Example 15-5
custom layout manager, Example 11-8
custom listener interface, Example 11-14
custom table model, Example 11-19
custom TreeModel, Example 11-20
cut-and-paste, Example 14-2
data transfer, Example 14-1, Example 14-2
dialogs, Example 11-17
displaying components, Example 11-30, Example 11-30
displaying HTML, Example 8-3, Example 11-21
drag-and-drop, Example 14-1, Example 14-2
event listeners, Example 11-10
event listeners as inner classes, Example 11-11
event registration methods, Example 15-3
firing events, Example 15-3
font selection dialog, Example 11-17
for applets, Example 16-3
handling button events, Example 11-12
handling keyboard events, Example 11-11
handling list events, Example 11-12
handling mouse events, Example 11-10
key bindings, Example 14-2
layout managers, Example 11-2, Example 11-3, Example 11-4, Example 11-5, Example 11-6, Example 11-7, Example 11-8, Example 11-9
layout with struts and glue, Example 11-5
looks-and-feel, Example 11-29
low-level event processing, Example 11-13
menubars, Example 11-15
message lines, Example 11-21
Metal themes, Example 11-28
modal dialogs, Example 11-17
nested containers, Example 11-1
paint application, Example 11-15
parsing Actions from a file, Example 11-25
parsing menus from a file, Example 11-26, Example 11-27
pluggable look-and-feels, Example 11-30
printing, Example 11-21
reading resources from a file, Example 11-22
selecting look-and-feel, Example 11-29
tables, Example 11-19
toolbars, Example 11-15
tooltips, Example 11-30
trees, Example 11-20
user preferences, Example 11-29
working with actions, Example 11-15
SwingUtilities, Example 11-15, Example 11-30
switch statement, Example 1-6
synchronized methods, Example 4-2
synchronized modifier, Example 5-10
synchronized statement, Example 4-4, Example 4-6, Example 5-10, Example 13-4, Example 20-3, Example 21-6
Synthesizer, Example 17-3, Example 17-4, Example 17-5, Example 17-6
System
arraycopy( ), Example 2-7
currentTimeMillis( ), Example 4-5, Example 4-6, Example 20-3
getProperty( ), Example 7-3
in, Example 1-12, Example 21-8
out, Example 1-1, Example 21-8