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
[] 8.4 Swing Containers
! 1 7
8.4 Swing Containers
8.4.1 Top-Level Containers
There are two types of top-level containers in Swing: applets and windows. An applet in Swing
is a subclass of JApplet, as indicated by the declaration
public class Multiply extends JApplet
An applet will have an associated layout. An applet will contain components or other
intermediate-level containers such as panels. An applet is downloaded by a Java-enabled Web
browser then run: we discuss this aspect of applets in Section 8.10.
The second type of top-level container is a window. If we wish to add a GUI to a Java
application, ...
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

K. Rajkumar
Java Programming

Java Programming

Hari Mohan Pandey
Java Programming

Java Programming

Poornachandra Sarang
Java 9 for Programmers

Java 9 for Programmers

Paul J. Deitel, Harvey Deitel

Publisher Resources

ISBN: 9781558609099