soft.com/nav/read/Tutorial/index.html">The Java Tutorial. For information on including existing applets in your HTML Web page, see The Applet Tag.


Back to HotJava User's Guide Table of Contents

Back to HotJava Browser Menus

Continue to HotJava Browser Troubleshooting (next topic)

Follow these links for information about other Preferences pages:

f your system. You can grant certain system permissions, access to files, and access to networks. You can also specify that HotJava should warn you whenever an applet attempts a particular action, such as writing a fidt/appconfig/hotjava/UsersGuide/custom.html010044400000000000002000000635350634421607300211660ustar00rootbin00000400000016 Customizing the Hotjava(tm) Browser Interface Customizing the HotJava Browser Interface

You may want to learn how to customize the HotJava Browser to add your own company's look and feel, or to use the HotJava Browser as a user interface to your product. If so, you should read this page.

Without programming, you can customize the HotJava Browser in the following ways:

For examples of HotJava Browser customization, please see the Examples.

HotJava Browser's User Interface

Using the Display preferences page, you can change your default Home page (where the Home button leads), where the navigation buttons, locator text, activity monitor, and message line appear, and the typeface and typeface size. You can also choose whether the HotJava Browser's clock is displayed and whether hypertext links are underlined. To modify the HotJava Browser using the user interface, choose Edit->Preferences->Display.

Customizing the HotJava Browser using the user interface is described in the HotJava Browser's Getting Started document and in the Display Preferences section of the User's Guide.

Properties

HotJava establishes values for property settings by reading two files, a personal properties file and a system properties file. These files control many aspects of the HotJava Browser interface including:

You can make many significant changes to the HotJava Browser interface simply by modifying the personal or system properties file. Personal property settings take precedence over system property settings. Usually only a system administrator or person with system-wide responsibility can modify the system properties file.

Note: Changes made to the system properties file affect all client users of the HotJava Browser within a given installation. Changes to a personal properties file are on a per-user basis.

Modifying properties for desired effects is shown in the Examples.

Note: For information on customizing the format of the HotJava Browser clock, see Date Format for the HotJava Browser Clock.

Personal properties File

Your personal properties file should be in your-home-directory/.hotjava/properties. Here is an example of a rudimentary personal properties file:

#Wed Mar 19 13:39:52 PST 1997 https.proxyPort=80 hotjava.locator.position=top hotjava.docfont=SansSerif hotjava.activitymonitor.position=bottom hotlistframe.width=300 ftpProxySet=true hotjava.messageline.position=top anchorStyle=true hotlistframe.height=606 gopherProxySet=true www.home=doc:/lib/hotjava/whats-hot.html hotjava.charset=8859_1 gopherProxyHost= hotjava.docfontsize=-1 hotjava.errors.on.toolbar=true awt.print.paperSize=letter hotlistframe.y=85 hotjava.version=1.361, 03/18/97 hotlistframe.x=9 ftpProxyHost= hotjava.gohome=true hotjava.default.toolbar.buttonorder=back|forward|home|reload|stop|addgoto|showfinddialog|print|hotlistframe|errors gopherProxyPort=80 http.proxyHost= hotjava.default.toolbar.position=top https.proxyHost= ftpProxyPort=80 http.proxyPort=80 hotjava.clock=off

On Solaris systems, when HotJava inions for signed applets, as specified on the Basic Security page. You must deselect Use default permissions for this site or certificate to have access to the other System Permissions, Access to Files, or Network Access.

Choose System Permissions to indicate that the designated applets are allowed to start, open windows, access HotJava properties, access the clipboard, launch applications, or any combination of these permissions. You can also specify whether you want to see warning messages before applets can launch local applications, which will provide you with the chance to deny the permission at the time.

Choose Access to Files to indicate which of the files and directories on your system the designated applets are allowed to read to and write to. You can list these files separately by name, or you can specify groups of files by using the wildcard character * to substitute for any text. For example, "java.*.com" can mean "java.sun.foo.com", "java.sun.com", "java.crazy.com", and so on. This applies to all entry fields on this page.

Choose Network Access to specify which sites the designated applets may connect to, through which ports, and also on which ports they may "listen." An applet authorized to listen on a port does not have access to all the data that comes through that port. It is only listening for requests to connect to sites you've specified. It's like a person waiting for a phone to ring, rather than listening to an actual conversation.


In addition to the security settings available on the Basic and Advanced Applet Security pages, there is also a property you can set to increase security (but severely limit the ability to load applets) for users running the HotJava Browser within a network that is separated from the main Internet by a firewall. For information, see the HotJava Browser trustProxy Property.

For information about writing your own applets, see