The GubcastApplet

(Client)

The Gubcast applet is the mechanism Gubcast uses to display pushed content in a frame of a given web page. Unlike most applets, Gubcast itself doesn't add anything of visual interest to your website; it's just a program that runs in the background. So it usually makes sense to make Gubcast mostly invisible by giving it the smallest possible height and width; Netscape 4.7 seems to ignore 1x1, so we recommend 2x2.

Gubcast must be correctly embedded in a page of HTML text in order to run. It only runs in the Java plug-in; the native Java virtual machines built into Internet Explorer and Netscape will not execute it. This means that you can't use the simple <applet> HTML tags to embed it, but instead must use the more complex <object> notation. (See the Gubdemo HTML for an example.)

Fortunately, Sun provides a utility program called "htmlconv" that automatically converts applet references encoded in <applet> tags to the newer standard. You can download this program here. We recommend that you write your Gubcast-enabled HTML pages using the familiar <applet> notation and then use htmlconv to convert them to the required new format.

The following Gubcast-specific parameters can be supplied in the HTML that embeds Gubcast in a Web page: