-
Notifications
You must be signed in to change notification settings - Fork 120
Expand file tree
/
Copy pathindex.html
More file actions
400 lines (382 loc) · 15.9 KB
/
Copy pathindex.html
File metadata and controls
400 lines (382 loc) · 15.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html lang="en-US">
<head>
<title>The Java™ Tutorials</title>
<meta name="Description" content="Tutorials and reference guides for the Java Programming Language">
<html lang="11-CC">
<style type="text/css">
div#TopBar_bl {
background: url(images/java_bar_bl.gif) 0 100% no-repeat;
width: 100%;
height: 60px;
}
div#TopBar_br {
background: url(images/java_bar_br.gif) 100% 100% no-repeat;
width: 100%;
height: 60px;
}
div#TopBar_tl {
background: url(images/java_bar_tl.gif) 0 0 no-repeat;
width: 100%;
height: 60px;
}
div#TopBar_tr {
background: url(images/java_bar_tr.gif) 100% 0 no-repeat;
width: 100%;
height: 60px;
}
div#TopBar {
font-family: sans-serif;
background: #35556B url(images/java_bar.gif);
margin: 10px 10px 0 10px;
height:60px;
min-width:700px;
color: white;
font-weight: bold;
}
div#TopBar_left {
margin-left: 100px;
padding-top: 6px;
}
@media print {
div#TopBar_left {
margin-left: 0;
}
}
div#TopBar_right {
float: right;
padding-top: 8px;
padding-right: 30px;
text-align: center;
}
@media print {
div#TopBar_right {
display: none;
}
}
#TopBar_right a {
font-size: 12px;
margin: 3px;
padding: 0;
}
#TopBar a:visited, #TopBar a:link {
color: white;
text-decoration: none;
}
div#TopBar a:visited, div#TopBar a:link {
color: white;
}
div#TopBar a:hover, div#TopBar a:active {
background-color: white;
color: #35556B;
}
div#PageTitle {
}
div#LeftBar {
width: 13em;
float: left;
margin-left: 10px;
margin-top: 10px;
}
div#Footer {
font-family: sans-serif;
font-size: 10px;
padding-top: 10px;
margin: 3em;
clear: both;
}
div#Footer img#duke {
}
div#Footer img#sun {
}
div#TagNotes {
margin-top: 10px;
color: #35556B;
}
@media print {
span#TagNotes a:visited, span#TagNotes a:link {
text-decoration: none;
}
}
div#TutBody {
margin: 10px 20em 10px 3em;
}
div.RightBar {
font-family: sans-serif;
float: right;
}
div.RightBar img {
margin: 0 0 1em 0;
}
div.RightBox {
margin: 10px 3em 10px 0;
width: 15em;
border-style: double;
}
div.BlueRightBox {
margin: 10px 3em 10px 0;
width: 15em;
border-style: double;
background-color: #747170;
color: #FFFFFF;
}
div.Pad {
font-size: 80%;
padding: 1em;
}
div.Pad h2 {
text-align: center;
margin: 0;
}
div.Pad div {
display: list-item;
list-style-image: url(images/arrow-right-gray.gif);
margin: 0.3em 1em;
}
ul.BlueArrows {
list-style-image: url(images/ar_dbl_blue.gif);
}
ul.BlueArrows a:visited, ul.BlueArrows a:link {
text-decoration: none;
}
ul.BlueArrows a:hover, ul.BlueArrows a:active {
text-decoration: underline;
}
h1, h2, h3, h4, h5 {
color: #F90000;
font-family: sans-serif;
}
h1 {
font-weight: bold;
font-size: 20px;
}
h2 {
font-weight: bold;
font-size: 17px;
}
h3 {
font-weight: bold;
font-size: 14px;
}
h4 {
font-size: 15px;
}
h5 {
font-size: 12px;
}
.w {
font-family: Arial, Helvetica, sans-serif;
color: #FFFFFF;
margin-bottom: 3px;
}
</style>
</head>
<body>
<noscript>
A browser with JavaScript enabled is required for this page to operate properly.
</noscript>
<div id=TopBar> <div id=TopBar_tr> <div id=TopBar_tl> <div id=TopBar_br> <div id=TopBar_bl>
<div id=TopBar_right>
<a href="search.html" target="_top">Search</a>
<br>
<a href="http://docs.oracle.com/javase/feedback.html">Feedback</a>
</div>
</div> </div> </div> </div> </div>
<div class=RightBar>
<img src=images/ThinkingDuke.png width=124 height=128 align=center
alt="Duke thinking about what to study" style="margin-top:2px">
<br/>Not sure where to start? <br/>See <a href="tutorialLearningPaths.html">Learning Paths</a>
<div class=BlueRightBox>
<h2 class="w"><p></p><center><b>Tutorial Contents</b></center></h2>
<div> <center><a href="reallybigindex.html"><img src=images/really_big_index_button.gif width=108 height=22 align=center alt="really big index button"></a></center></div>
</div>
<div class=RightBox><div class=Pad>
<h2>Tutorial Resources</h2>
<div>View the
<a href="http://docs.oracle.com/javase/tutorial/">Java
Tutorials</a> Online (Last Updated
<a href="information/history.html">3/2/2012</a>).</div>
<div><a href="http://blogs.oracle.com/thejavatutorials/">The
Java Tutorials' Blog</a> has news and updates about
the Java SE tutorials.</div>
<div> <a href="http://www.oracle.com/technetwork/java/javase/downloads/java-se-7-tutorial-2012-02-28-1536013.html">Download the latest Java Tutorials bundle</a>.
</div>
</div></div>
<div class=RightBox><div class=Pad>
<h2>In Book Form</h2>
<div><a href="http://www.oracle.com/technetwork/java/javase/downloads/java-se-7-tutorial-2012-02-28-1536013.html">Download ebook files</a>.</div>
<div><i>The Java Tutorial, Fourth Edition.</i>
<a
href="http://www.amazon.com/gp/product/0321334205/">Amazon.com</a>.
</div>
<div><a href="information/errata.html">Errata</a> for <i>The Java Tutorial, Fourth Edition.</i>
</div>
</div></div>
<div class=RightBox><div class=Pad>
<h2>Other Resources</h2>
<div><a href="http://docs.oracle.com/javase/7/docs/">Java SE Developer Guides</a></div>
<div><a href="http://docs.oracle.com/javase/7/docs/api">API Documentation</a></div>
<div><a href="http://docs.oracle.com/javafx/">JavaFX 2.0 Documentation</a></div>
<div><a href="http://docs.oracle.com/javaee/6/tutorial/doc/">The Java EE 6 Tutorial</a></div>
<div><a href="http://www.netbeans.org/kb/index.html">NetBeans™ Documentation</a></div>
</div></div>
<div class=RightBox><div class=Pad>
<h2>Oracle Training and Professional Certification</h2>
<div><a href="http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=402&p_nl=JJAV">Java Certification and Training</a></div>
<div><a href="http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=3">Oracle University</a></div>
</div></div>
<div class=RightBox><div class=Pad>
<h2>Software</h2>
<div>The <a href="http://www.oracle.com/technetwork/java/javase/downloads/index.html">Java Development Kit</a> (JDK) for Java SE 7.</div>
<div><a href=http://www.netbeans.org/>NetBeans IDE</a></div>
<div><a href="http://www.oracle.com/technetwork/java/javaee/downloads/index.html">Java EE SDK</a></div>
</div></div>
</div>
<div id=TutBody>
The Java Tutorials are practical guides for programmers who want
to use the Java programming language to create applications. They
include hundreds of complete, working examples, and dozens of
lessons. Groups of related lessons are organized into "trails".
<p>
The Java Tutorials primarily describe features in Java SE 7.
For best results, <a class="OutsideLink" target="_blank"
href="http://www.oracle.com/technetwork/java/javase/downloads/index.html">download JDK 7</a>.
</p>
<h2><a name="whatsnew">What's New</a></h2>
</p>
<p>The Java Tutorials are continuously updated to keep up with changes to the Java Platform and to incorporate feedback from our readers. The following sections have been updated for this release:
<ul>
<li>This update heralds the release of the Java Tutorials in two new formats:
<ul>
<li><tt>mobi</tt> ebook files for Kindle. For best results we recommend viewing on the Kindle Fire or Kindle DX.</li>
<li><tt>ePub</tt> ebook files for iPad, Nook, and other eReaders that support the <tt>ePub</tt> format.</li>
</ul>
<br />
Each ebook contains a single trail. You can download trails via the link in the "In Book Form" box to the right.
<br /><br />
For best results when viewing preformatted code blocks, adjust the landscape/portrait orientation and font size of your device to enable the maximum possible viewing area.</li>
<br />
<li>We are pleased to announce that the <a href="extra/certification/index.html">Preparation for Java Programmer Language Certification</a> lesson has been completely reworked. The objectives for each Java SE 7 certification exam are listed and links are provided to relevant tutorial pages.
</li>
<br />
<li>The <a href="i18n/network/index.html">Internationalization of Network Resources</a> lesson has been updated.</li>
</ul>
<h2>Trails Covering the Basics</h2>
These trails are available in book form as <i>The Java
Tutorial, Fourth Edition</i>. To buy this book,
refer to the box to the right.
<ul class="BlueArrows">
<li><a href="getStarted/index.html">Getting Started</a>
— An introduction to Java technology and lessons on
installing Java development software and using it to create a
simple program.
<li><a href="java/index.html">Learning the Java Language</a>
— Lessons describing the essential concepts and features
of the Java Programming Language.
<li><a href="essential/index.html">Essential Java Classes</a>
— Lessons on exceptions, basic input/output,
concurrency, regular expressions, and the platform
environment.
<li><a href="collections/index.html">Collections</a> —
Lessons on using and extending the Java Collections Framework.
<li><a href="ui/index.html">Swing</a> — An introduction
to the Swing GUI toolkit, with an overview of features and a
visual catalog of components. See below for a more
comprehensive tutorial on Swing.
<li><a href="deployment/index.html">Deployment</a> —
How to package applications and applets using JAR files, and
deploy them using Java Web Start and Java Plug-in.
<li><a href="extra/certification/index.html">Preparation
for Java Programming Language Certification</a>
— List of available training and tutorial resources.
</ul>
<h2>Creating Graphical User Interfaces</h2>
<p>
<ul class="BlueArrows">
<li><a href="uiswing/index.html">Creating a GUI with Swing</a> — A comprehensive introduction to GUI creation on the Java platform.
<li><a href="http://docs.oracle.com/javafx/index.html">Creating a JavaFX GUI</a> — A collection of JavaFX tutorials.
</ul>
<h2>Specialized Trails and Lessons</h2>
These trails and lessons are only available as web pages.
<p>
<ul class="BlueArrows">
<li><a href="networking/index.html">Custom Networking</a>
— An introduction to the Java platform's powerful
networking features.
<li><a href="ext/index.html">The Extension Mechanism</a>
— How to make custom APIs available to all applications
running on the Java platform.
<li><a href="extra/fullscreen/index.html">Full-Screen
Exclusive Mode API</a> — How to write applications
that more fully utilize the user's graphics hardware.
<li><a href="extra/generics/index.html">Generics</a> —
An enhancement to the type system that supports operations on
objects of various types while providing compile-time type
safety. Note that this lesson is for advanced users. The <a
href=java/index.html>Java Language</a> trail contains a <a
href=java/generics/index.html>Generics</a> lesson that is
suitable for beginners.
<li><a href="i18n/index.html">Internationalization</a> —
An introduction to designing software so that it can be easily
be adapted (localized) to various languages and regions.
<li><a href="javabeans/index.html">JavaBeans</a> —
The Java platform's component technology.
<li><a href="jdbc/index.html">JDBC Database Access</a> —
Introduces an API for connectivity between the Java
applications and a wide range of databases and a data sources.
<li><a href="jmx/index.html">JMX</a>— Java Management
Extensions provides a standard way of managing resources
such as applications, devices, and services.
<li><a href="jndi/index.html">JNDI</a>— Java Naming and
Directory Interface enables accessing the Naming and Directory
Service such as DNS and LDAP.
<li><a href="jaxp/index.html">JAXP</a> — Introduces
the Java API for XML Processing (JAXP) 1.4 technology.
<li><a href="jaxb/index.html">JAXB</a> — Introduces
the Java architecture for XML Binding (JAXB) technology.
<li><a href="rmi/index.html">RMI</a> — The Remote Method
Invocation API allows an object to invoke methods of
an object running on another Java Virtual Machine.
<li><a href="reflect/index.html">Reflection</a> — An API
that represents ("reflects") the classes, interfaces, and
objects in the current Java Virtual Machine.
<li><a href="security/index.html">Security</a> — Java
platform features that help protect applications from
malicious software.
<li><a href="sound/index.html">Sound</a> — An API for
playing sound data from applications.
<li><a href="2d/index.html">2D Graphics</a> — How to
display and print 2D graphics in applications.
<li><a href="sdp/index.html">Sockets Direct Protocol</a> — How to
enable the Sockets Direct Protocol to take advantage of
InfiniBand.
</ul>
</div>
<hr>
<div id=Footer>
<p><font size="1"><a name="license_info">Your use of this</a> page <a href="http://docs.oracle.com/javase/tutorial/">(http://docs.oracle.com/javase/tutorial</a> (Last Updated <a href="information/history.html">3/2/2012</a>))
and all the material on pages under "The Java Tutorials" banner is subject to these
<a href="information/cpyr.html">legal notices</a>.
</font></p>
<p>
<table width="100%" border="0" cellspacing="0" cellpadding="5">
<tr>
<td headers="h1" width="20%">
<table width="100%" border="0" cellspacing="0" cellpadding="5">
<tr>
<td headers="h1" align="center"><img id=duke src=images/DukeWave.gif width=55 height=55 alt="Waving Duke"></td>
<td headers="h2" align="left" valign="middle"><img id=oracle src=images/logo_oracle_footer.gif width=100 height=29 alt="Oracle logo"></td>
</tr>
</table>
</td>
<td width="55%" valign="middle" align="center">
<font size="1"><a href="http://www.oracle.com/us/corporate/index.html">About Oracle</a> | <a href="http://www.oracle.com/technology/index.html">Oracle Technology Network</a> | <a href="https://www.samplecode.oracle.com/servlets/CompulsoryClickThrough?type=TermsOfService">Terms of Service</a> | <a href="information/docaccessibility.html">Documentation Accessibility</a></font>
</td>
<td width="25%" valign="middle" align="right">
<font size="2">Copyright © 1995, 2012 Oracle and/or its affiliates. All rights reserved.</font>
</td>
</tr>
</table>
</div>
</body>
</html>