Class Browser

java.lang.Object
  |
  +--Browser

public class Browser
extends java.lang.Object

A browser. This class creates a BrowserController which runs the show from that point on.


Field Summary
static boolean antialias
          Flag to determine if antialiasing is turned on.
static boolean debugging
          Flag to determine if debugging is turned on.
 
Constructor Summary
Browser()
           
 
Method Summary
static void debug(java.lang.String s)
          Prints messages on System.err if debugging is enabled.
static void main(java.lang.String[] args)
          The main method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

debugging

public static boolean debugging
Flag to determine if debugging is turned on.

antialias

public static boolean antialias
Flag to determine if antialiasing is turned on.
Constructor Detail

Browser

public Browser()
Method Detail

debug

public static void debug(java.lang.String s)
Prints messages on System.err if debugging is enabled.
Parameters:
s - the string to print.

main

public static void main(java.lang.String[] args)
The main method. It sets the flags and creates a BrowserController.
Parameters:
args - commandline arguments. An argument of '-d' will turn on debugging, and '-a' turns off antialiasing.