Class ScreenSaverMain

java.lang.Object
org.jppf.node.screensaver.ScreenSaverMain
All Implemented Interfaces:
InitializationHook

public class ScreenSaverMain extends Object implements InitializationHook
Main entry point for starting the screen saver.
Since:
4.0
Author:
Laurent Cohen
  • Constructor Details

    • ScreenSaverMain

      public ScreenSaverMain()
  • Method Details

    • main

      public static void main(String[] args)
      Test the screen saver stadalone (not part of a node).
      Parameters:
      args - not used.
    • initializing

      public void initializing(org.jppf.utils.TypedProperties initialConfiguration)
      Description copied from interface: InitializationHook
      This method is called each time the node is about to attempt to connect to a driver. The provided configuration can be modified.
      Specified by:
      initializing in interface InitializationHook
      Parameters:
      initialConfiguration - the configuration properties of the node at startup time.
    • loadImage

      public static ImageIcon loadImage(String file)
      Load an icon from the specified path.
      Parameters:
      file - the file to get the icon from.
      Returns:
      an ImageIcon instance.