TOC PREV NEXT INDEX




Swing RI


The Swing RI demonstrates most of the features of a commercial browser. It is fully localized, offers GUI-based configuration options, and contains a help system that describes how to use and configure the application.

This RI uses certain features if the required libraries are present. For example, the HTTPS implementation is used if ib6https.jar and icessl.jar are on the classpath.

Figure 2-1 Swing RI



Starting the Swing RI

To start the Swing RI:

  1. Ensure that JDK 1.3.1 or greater is installed.
  2. Add the relevant JAR files to the classpath. You need at least the following:

    ri_swing.jar
    ib6core.jar
    ib6util.jar
    ib6swing.jar
    ib6http.jar

    To enable optional capabilities, such as JavaScript, extra media support, or SSL, add the required JARs as described in JAR Files (lib).

  3. Run java ice.ri.swing.Main [option <value>].
Command Line Options

Option
Description
home
The home directory that the Swing RI will use to store its properties, cookies, etc.
The default home directory is <user_dir>/ICEsoft/SwingRI/, where <user_dir> is the platform-specific directory specified by the user.home system property.
language
The lowercase two-letter ISO-639 code representing the language that the Swing RI should use when selecting a locale.
Note: ISO 639 is not a stable standard; some of the language codes it defines (specifically iw, ji, and in) have changed. The Swing RI accepts both the old codes (iw, ji, and in) and the new codes (he, yi, and id).
region
The uppercase two-letter ISO-3166 code representing the country that the Swing RI should use when selecting a locale.
startpage
Specifies the starting page in the standard URL form, such as http://www.icesoft.com

For example, to run the Swing RI with JavaScript and HTTPS enabled:

java -classpath ri_swing.jar;ib6core.jar;ib6util.jar;ib6swing.jar;

  ib6http.jar;ib6js.jar;ib6extra.jar;ib6https.jar;icessl.jar

  ice.ri.swing.Main 
 

For another example, to run the Swing RI as above but with XSLT transformations enabled, a custom location to save settings, and Spanish localization:

java -classpath ri_swing.jar;ib6core.jar;ib6util.jar;ib6http.jar;

  ib6swing.jar;ib6extra.jar;ib6https.jar;icessl.jar;ib6xalan.jar;

  xalan.jar;xml-apis.jar ice.ri.swing.Main 

  -home c:\settings\icesoft -language es 
 
Starting as an Executable JAR

The ri_swing.jar file is an executable JAR, so you can also start the Swing RI with JDK 1.3.1 or greater as follows:

java -jar ri_swing.jar
 
Settings Directory

The Swing RI stores its settings in the directory <user_dir>/ICEsoft/SwingRI/, where <user_dir> is the platform-specific directory specified by the user.home system property.

PAC Support

The Swing RI has built-in support for PAC. You can configure PAC support interactively via the Proxy Management window located under the Options menu.



Copyright 2005. ICEsoft Technologies, Inc.
http://www.icesoft.com

TOC PREV NEXT INDEX