Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword or section
Like this
1Activity

Table Of Contents

(b)Overview
(b)Dedication
(b)Acknowledgments
(b)About the Authors
(c)Contributing Authors
(b)Introduction
(c)What Is Java?
— 1 —What Is Java?
— 1 — What Is Java?
A Brief History of Java
Distributed Computing
Programming for the Rest of Us
Consistent Look and Feel
Interactive Web Pages
Summary
— 2 —Using Java
— 2 — Using Java
Applets: Enhancing the Web
Adding Sound to Your Web Pages
Adding Animation and Graphics
Interactivity
A Real User Interface
Restrictions
No Access to Files
Applets Have No Memory
Speed
Limitations of Connections
Security on the Net
Standalone Applications
The Future of Java
New Development Tools
Increasing Speed
Integrating with Other Applications
Automatic Applet Updates
JavaScript
Cosmo
The Java "Real" Machine?
— 3 —Java Browsers
— 3 — Java Browsers
HotJava
Java's Java Browser
Feature-Rich and Flexible
Dynamic Content Types and Protocols
Configuration
Security
Sun's Commitment to HotJava
Availability
appletviewer
Special Capabilities
Netscape Navigator
Imposing New Standards
— 4 —Java's Capabilities
— 4 — Java's Capabilities
Visually Enhancing Pages (And Sound Too!)
Clock Applets
Juggling Applet
Animator Applet
SlideShow Applet
Adding Functionality to Web Pages
Curve Applet
StockTrace Applet
TeleRadiology Applet
Interactive PC Scoreboard Applet
The Player Piano Applet
— 5 —Finding and Using Applets
— 5 — Finding and Using Applets
Where Do I Look?
Gamelan
JARS
Code or Binaries?
Using Binaries
Using Code
Copyright Issues
Shareware and Freeware
Credit where Credit Is Due
HTML and Java
Understanding the <APPLET> Tag
codebase=URL
name=name
vspace=n and hspace=n
alt="text"
Customizing Applets with Parameters
Design Issues
Design Aesthetics
Color
Look and Feel
Animation Craze
Functional Design
Sizing Applets
Placing Applets
Sound
Avoiding Applet Clutter
Download Time
The Components of the Java Developer's Kit
javac
java
javah
javap
javadoc
The API Documentation
How to Compile Java Code
Arithmetic Operators
% Remainder
Remainder
Decrement and Increment
Relational and Logical Operators
Arrays
Statements and Blocks
Program Flow
If. . .Else Statements
Looping
for Loops
While Loops
Do. . .While Loops
The Lack of Pointers
— 9 — Java Objects
existing product; it IS object-oriented from the ground up. - Tech Ed
Revised. -Ken
The Basics of Object-Oriented Programming
Classes Versus Objects
Generating Your Own Classes and Objects
A Basic Example: Vehicle
Instance Vvariables
Encapsulation
Methods
A Sample Applet
Inheritance
Functionality
Polymorphism
— 10 — Applet Structure and Design
The Applet Package
getDocumentBase()
getImage(URL, String)
Applet Lifecycles
init()
stop()
destroy()
Building an Applet
Parameters
Finishing the Applet
Putting It All Together
— 11 —Building a User Interface
— 11 — Building a User Interface
Introduction to the AWT
A Simple Example
Don't Panic: Some Practical Advice for Using the AWT
Event Handling
Adding Basic Event Handling
Using Event Handling Methods
Components
Interface Components
Common Methods of All Components
Setting Foreground and Background Color
Disabling and Enabling
Containers
Layouts
Designing a User Interface
Glossary of Terms
— Appendix A —Java Resources on the World Wide Web
— Appendix A — Java Resources on the World Wide Web
Java Sites
Sun’s Java Site: Javasoft
Gamelan: The Directory and Registry of Java Resources
JARS: The Java Applet Rating Service
Search Engines
Resources from the Text
— Appendix B —JavaScript and Java Language Reference
— Appendix B — JavaScript and Java Language Reference
Reserved Words
Comments
Literals
Variable Assignment
Operators
Objects
Loops and Conditionals
Class Definitions
Method and Constructor Definitions
Exceptions and Guarding
— More Books —
Inside Back Cover
0 of .
Results for:
No results containing your search query
P. 1
Creating Web Applets With Java

Creating Web Applets With Java

Ratings: (0)|Views: 3,209|Likes:
Published by Syed Saud Arif

More info:

Published by: Syed Saud Arif on Jan 13, 2011
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

11/12/2011

pdf

text

original

You're Reading a Free Preview
Pages 6 to 117 are not shown in this preview.
You're Reading a Free Preview
Pages 123 to 127 are not shown in this preview.
You're Reading a Free Preview
Pages 133 to 150 are not shown in this preview.
You're Reading a Free Preview
Pages 156 to 282 are not shown in this preview.
You're Reading a Free Preview
Pages 288 to 294 are not shown in this preview.

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->