public class AbstractDisposer
extends java.awt.event.KeyAdapter
java.awt.Window
instance. This includes
JFrame
and JDialog
. When such
an event is caught, the instance is simply disposed.Constructor and Description |
---|
AbstractDisposer(java.awt.Window parent)
Creates a new KeyListener which register a
specified Window.
|
Modifier and Type | Method and Description |
---|---|
void |
finalize() |
void |
keyPressed(java.awt.event.KeyEvent evt) |
public AbstractDisposer(java.awt.Window parent)
public void keyPressed(java.awt.event.KeyEvent evt)
keyPressed
in interface java.awt.event.KeyListener
keyPressed
in class java.awt.event.KeyAdapter
public void finalize() throws java.lang.Throwable
finalize
in class java.lang.Object
java.lang.Throwable
Copyright ? 2002 Romain Guy.