Skip to Main Content
Java
book

Java

by Michael Sikora
January 2003
Beginner to intermediate content levelBeginner to intermediate
150 pages
7h 28m
English
Morgan Kaufmann
Content preview from Java
II
8.10 Applets
135
In the main method (lines 125-130), the statement (line 126)
CustomerDetails cd = new CustomerDetails ();
creates an instance, cd, of the frame CustomerDetails. We then set the frame's title and size,
and make the frame visible.
8.10 Applets
In this section, we describe a simple applet, MultiplyApplet .java. This applet performs the
same function as the Multiply application in Chapter 1, namely, to output the product of two
integers supplied as parameters. In contrast to an application that is a standalone program, an
applet is invoked by a Web browser from a Web page. A Web page written in HTML ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Java Programming

Java Programming

Poornachandra Sarang
JAVA Programming

JAVA Programming

K. Rajkumar
Java Programming

Java Programming

Hari Mohan Pandey
Java 9 for Programmers

Java 9 for Programmers

Paul J. Deitel, Harvey Deitel

Publisher Resources

ISBN: 9781558609099