com.izforge.izpack.installer
Class GUIInstaller

java.lang.Object
  extended bycom.izforge.izpack.installer.InstallerBase
      extended bycom.izforge.izpack.installer.GUIInstaller

public class GUIInstaller
extends InstallerBase

The IzPack graphical installer class.

Author:
Julien Ponge

Nested Class Summary
(package private)  class GUIInstaller.FlagRenderer
          A list cell renderer that adds the flags on the display.
(package private)  class GUIInstaller.LanguageDialog
          Used to prompt the user for the language.
 
Field Summary
private  InstallData installdata
          The installation data.
protected  java.lang.String lnf
          The L&F.
 
Constructor Summary
GUIInstaller()
          The constructor.
 
Method Summary
private  void checkJavaVersion()
          Checks the Java version.
private  java.util.ArrayList getAvailableLangPacks()
          Returns an ArrayList of the available langpacks ISO3 codes.
private  void loadGUI()
          Loads the GUI.
 void loadGUIInstallData()
          Load GUI preference information.
private  void loadLangPack()
          Loads the suitable langpack.
protected  void loadLookAndFeel()
          Loads the suitable L&F.
 
Methods inherited from class com.izforge.izpack.installer.InstallerBase
loadInstallData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

installdata

private InstallData installdata
The installation data.


lnf

protected java.lang.String lnf
The L&F.

Constructor Detail

GUIInstaller

public GUIInstaller()
             throws java.lang.Exception
The constructor.

Throws:
java.lang.Exception - Description of the Exception
Method Detail

loadGUIInstallData

public void loadGUIInstallData()
                        throws java.lang.Exception
Load GUI preference information.

Throws:
java.lang.Exception

checkJavaVersion

private void checkJavaVersion()
                       throws java.lang.Exception
Checks the Java version.

Throws:
java.lang.Exception - Description of the Exception

loadLangPack

private void loadLangPack()
                   throws java.lang.Exception
Loads the suitable langpack.

Throws:
java.lang.Exception - Description of the Exception

getAvailableLangPacks

private java.util.ArrayList getAvailableLangPacks()
                                           throws java.lang.Exception
Returns an ArrayList of the available langpacks ISO3 codes.

Returns:
The available langpacks list.
Throws:
java.lang.Exception - Description of the Exception

loadLookAndFeel

protected void loadLookAndFeel()
                        throws java.lang.Exception
Loads the suitable L&F.

Throws:
java.lang.Exception - Description of the Exception

loadGUI

private void loadGUI()
              throws java.lang.Exception
Loads the GUI.

Throws:
java.lang.Exception - Description of the Exception