fi.hut.tml.xsmiles.gui.gui2.swing
Class KickStartSwing

java.lang.Object
  extended byfi.hut.tml.xsmiles.Xsmiles
      extended byfi.hut.tml.xsmiles.gui.gui2.KickStart
          extended byfi.hut.tml.xsmiles.gui.gui2.swing.KickStartSwing
Direct Known Subclasses:
KickStartNoGUI

public class KickStartSwing
extends KickStart

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
 AWTGUI gui
           
static KickStartSwing instance
           
 
Fields inherited from class fi.hut.tml.xsmiles.Xsmiles
browserWindows, configFile, initDialogClassname, initialURLStr, securityEnforcer, socketListener, XSMILES_SECURITY_POLICY
 
Constructor Summary
KickStartSwing()
           
 
Method Summary
 java.lang.String getGUIClass()
           
static void main(java.lang.String[] args)
           
protected  void setXMLConfigurer(XMLConfigurer conf)
          This method launches our own Frame instead of the normal Browser.
 
Methods inherited from class fi.hut.tml.xsmiles.gui.gui2.KickStart
launchBrowser
 
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 KickStartSwing instance

gui

public AWTGUI gui
Constructor Detail

KickStartSwing

public KickStartSwing()
Method Detail

main

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

setXMLConfigurer

protected void setXMLConfigurer(XMLConfigurer conf)
This method launches our own Frame instead of the normal Browser.

Overrides:
setXMLConfigurer in class KickStart

getGUIClass

public java.lang.String getGUIClass()
Overrides:
getGUIClass in class KickStart


X-Smiles 1.2