Package jexer.demos
Class Demo5
- java.lang.Object
-
- jexer.demos.Demo5
-
- All Implemented Interfaces:
java.awt.event.WindowListener,java.util.EventListener
public class Demo5 extends java.lang.Object implements java.awt.event.WindowListenerThis class is the main driver for a simple demonstration of Jexer's capabilities. It shows two Swing demo applications running in the same Swing UI. The application in the left panel starts in English, and the application in the right panel starts in Spanish.
-
-
Constructor Summary
Constructors Constructor Description Demo5()Default constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidmain(java.lang.String[] args)Main entry point.voidwindowActivated(java.awt.event.WindowEvent event)Pass window events into the event queue.voidwindowClosed(java.awt.event.WindowEvent event)Pass window events into the event queue.voidwindowClosing(java.awt.event.WindowEvent event)Pass window events into the event queue.voidwindowDeactivated(java.awt.event.WindowEvent event)Pass window events into the event queue.voidwindowDeiconified(java.awt.event.WindowEvent event)Pass window events into the event queue.voidwindowIconified(java.awt.event.WindowEvent event)Pass window events into the event queue.voidwindowOpened(java.awt.event.WindowEvent event)Pass window events into the event queue.
-
-
-
Method Detail
-
windowActivated
public void windowActivated(java.awt.event.WindowEvent event)
Pass window events into the event queue.- Specified by:
windowActivatedin interfacejava.awt.event.WindowListener- Parameters:
event- window event received
-
windowClosed
public void windowClosed(java.awt.event.WindowEvent event)
Pass window events into the event queue.- Specified by:
windowClosedin interfacejava.awt.event.WindowListener- Parameters:
event- window event received
-
windowClosing
public void windowClosing(java.awt.event.WindowEvent event)
Pass window events into the event queue.- Specified by:
windowClosingin interfacejava.awt.event.WindowListener- Parameters:
event- window event received
-
windowDeactivated
public void windowDeactivated(java.awt.event.WindowEvent event)
Pass window events into the event queue.- Specified by:
windowDeactivatedin interfacejava.awt.event.WindowListener- Parameters:
event- window event received
-
windowDeiconified
public void windowDeiconified(java.awt.event.WindowEvent event)
Pass window events into the event queue.- Specified by:
windowDeiconifiedin interfacejava.awt.event.WindowListener- Parameters:
event- window event received
-
windowIconified
public void windowIconified(java.awt.event.WindowEvent event)
Pass window events into the event queue.- Specified by:
windowIconifiedin interfacejava.awt.event.WindowListener- Parameters:
event- window event received
-
windowOpened
public void windowOpened(java.awt.event.WindowEvent event)
Pass window events into the event queue.- Specified by:
windowOpenedin interfacejava.awt.event.WindowListener- Parameters:
event- window event received
-
main
public static void main(java.lang.String[] args)
Main entry point.- Parameters:
args- Command line arguments
-
-