Class JavaEyes

java.lang.Object
  extended by JavaEyes

public class JavaEyes
extends Object

The class containing the MAIN method, which creates a visible JFrame. JavaEyes is a Swing application that is a Java-based implementation of the familiar "Xeyes" program, available on many Unix-based systems.

Author:
David Mutchler and many others before him. Created November 2004, updated August 2005 and September 2008.

Field Summary
static Color DEFAULT_EYE_COLOR
          The default color for the eye.
static Color DEFAULT_EYEBALL_COLOR
          The default color for the eyeball.
 
Constructor Summary
JavaEyes()
           
 
Method Summary
static void main(String[] args)
          The application starts here in MAIN; it creates a new JFrame for JavaEyes and makes it visible.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_EYE_COLOR

public static final Color DEFAULT_EYE_COLOR
The default color for the eye.


DEFAULT_EYEBALL_COLOR

public static final Color DEFAULT_EYEBALL_COLOR
The default color for the eyeball.

Constructor Detail

JavaEyes

public JavaEyes()
Method Detail

main

public static void main(String[] args)
The application starts here in MAIN; it creates a new JFrame for JavaEyes and makes it visible.

Parameters:
args - Array of command-line arguments (which are ignored)