fi.hut.tml.xsmiles.gui.gui2
Class KickStart

java.lang.Object
  extended byfi.hut.tml.xsmiles.Xsmiles
      extended byfi.hut.tml.xsmiles.gui.gui2.KickStart
Direct Known Subclasses:
KickStartFTV, KickStartSimple, KickStartSwing, XSmilesApplet.AppletKickStart

public class KickStart
extends Xsmiles

An easy way to kickstart the browser with a GUI wrapper This does not use the old GUI framework in X-Smiles, but rather just creates a frame and creates a BrowserWindow without an old - type of GUI and puts that into the frame. This class shows that it is easy to create a project that launches X-Smiles inside it.

Author:
honkkis

Field Summary
 GUIInterface gui
           
static KickStart instance
           
 
Fields inherited from class fi.hut.tml.xsmiles.Xsmiles
browserWindows, configFile, initDialogClassname, initialURLStr, securityEnforcer, socketListener, XSMILES_SECURITY_POLICY
 
Constructor Summary
KickStart()
           
 
Method Summary
 java.lang.String getGUIClass()
           
 Browser launchBrowser(java.lang.String initialURL)
          This method launches our own Frame instead of the normal Browser.
static void main(java.lang.String[] args)
           
protected  void setXMLConfigurer(XMLConfigurer conf)
           
 
Methods inherited from class fi.hut.tml.xsmiles.Xsmiles
applySecurityPolicy, getXMLConfigurer, initSequence, webstart
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instance

public static KickStart instance

gui

public GUIInterface gui
Constructor Detail

KickStart

public KickStart()
Method Detail

main

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

launchBrowser

public Browser launchBrowser(java.lang.String initialURL)
                      throws java.lang.Throwable
This method launches our own Frame instead of the normal Browser.

Overrides:
launchBrowser in class Xsmiles
Throws:
java.lang.Throwable

setXMLConfigurer

protected void setXMLConfigurer(XMLConfigurer conf)

getGUIClass

public java.lang.String getGUIClass()


X-Smiles 1.2