![]()
Enhanced AWT RI
The Enhanced AWT RI has a user interface tailored for a device with a VGA (640x480) touchscreen, such as a Web tablet, and can be used as a starting point for developing an embedded application.
Instead of using many command line options, it offers an options panel in its GUI. It also has tabs to switch between open browser windows. The RI uses a custom AWT extension widget set to provide skinnable GUI components; for more information, see ICEsoft Skinnable Component Library.
This RI uses certain features if the libraries are present. For example, the ICEsoft HTTP implementation is used if the ib6http.jar file is on the classpath.
![]()
Starting the Enhanced AWT RI
- Ensure that JDK 1.1.8 or higher is installed.
- Add the relevant JAR files to the classpath. You need at least the following:
ri_enhancedawt.jar
ib6core.jar
ib6util.jar
ib6http.jarTo enable optional capabilities, such as extra media support, HTTPS, or SSL, add the required JARs as described in JAR Files (lib).
- Run java ice.ri.enhancedawt.browser.Main
Configuration of this RI is primarily handled in the application GUI. However, you can specify the starting size on the command line.
For example, to run the Enhanced AWT RI with JavaScript, HTTPS, and extra media support enabled, and with a starting size of 640 x 480:
java -classpath ri_enhancedawt.jar;ib6core.jar;ib6util.jar; ib6extra.jar;ib6http.jar;ib6https.jar;icessl.jar ice.ri.enhancedawt.browser.Main -w640 -h480Starting as an Executable JAR
The ri_enhancedawt.jar file is an executable JAR, so you can also start the Enhanced AWT RI with JDK 1.3.1 or greater as follows:
java -jar ri_enhancedawt.jarSettings Directory
The Enhanced AWT RI stores its settings in the directory <user_dir>/ICEsoft/EnhancedAWTRI/, where <user_dir> is the platform-specific directory specified by the user.home system property.
PAC Support
The Enhanced AWT RI also has built-in PAC support. To use it, set the com.icesoft.pac property:
java -Dcom.icesoft.pac=file:///c:/proxy.pac ice.ri.enhancedawt.browser.MainThe com.icesoft.pac property is specific to the reference implementations. If the value is anything but null, PAC is used. The value is the URL of the PAC file.
Using the Enhanced AWT RI
When several windows are active, a tab for each page is displayed near the top of the browser window. Click the tab to display the content of that window. The user interface also has the following buttons to control tab functions:
The Options button opens a panel that has the following functions:
|
Copyright 2005. ICEsoft Technologies, Inc. http://www.icesoft.com |