org.jdesktop.jdic.screensaver.bouncingline
Class WebStartScreenSaver

java.lang.Object
  extended by org.jdesktop.jdic.screensaver.ScreensaverBase
      extended by org.jdesktop.jdic.screensaver.SimpleScreensaver
          extended by org.jdesktop.jdic.screensaver.bouncingline.WebStartScreenSaver

public class WebStartScreenSaver
extends SimpleScreensaver


Field Summary
static java.io.File killFile
           
 
Constructor Summary
WebStartScreenSaver()
           
 
Method Summary
 void init()
          Initialize this screen saver - pick two random points and directions.
static void main(java.lang.String[] args)
           
 void paint(java.awt.Graphics g)
          Override this method in your subclasses to paint a single frame.
static void startJaws(java.lang.String jawsUrl)
           
static void testJaws()
           
 
Methods inherited from class org.jdesktop.jdic.screensaver.SimpleScreensaver
renderFrame
 
Methods inherited from class org.jdesktop.jdic.screensaver.ScreensaverBase
baseDestroy, baseInit, getContext
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

killFile

public static final java.io.File killFile
Constructor Detail

WebStartScreenSaver

public WebStartScreenSaver()
Method Detail

init

public void init()
Initialize this screen saver - pick two random points and directions.


testJaws

public static void testJaws()

startJaws

public static void startJaws(java.lang.String jawsUrl)

paint

public void paint(java.awt.Graphics g)
Description copied from class: SimpleScreensaver
Override this method in your subclasses to paint a single frame. Any exceptions thrown during paint will be sent to the org.jdesktop.jdic.screensaver J2SE logger.

Tip: Treat this as though it were part of a game loop. In general, it's a good idea not to allocate ('new') any objects after init unless they will not be deleted. This will yield smoother animation and no pauses from the garbage collector.

Specified by:
paint in class SimpleScreensaver
Parameters:
g - Graphics context used to draw to the screensaver window.

main

public static void main(java.lang.String[] args)