Class chap2.ch2_fig5
All Packages Class Hierarchy This Package Previous Next Index
Class chap2.ch2_fig5
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Panel
|
+----java.applet.Applet
|
+----chap2.ch2_fig5
- public class ch2_fig5
- extends Applet
An applet that demonstrates the use of the Sortable
interface.
-
start()
- Creates two lists, an AlphaList and a OtherList,
initializes each to some set of String values, then sorts them
by calling the sort method which takes a Sortable as its
argument.
start
public void start()
- Creates two lists, an AlphaList and a OtherList,
initializes each to some set of String values, then sorts them
by calling the sort method which takes a Sortable as its
argument.
- Overrides:
- start in class Applet
All Packages Class Hierarchy This Package Previous Next Index