POP WINDOW
Author: Sami E. Millet
Go Back
Download...
The Zipfile includes Classfile,
Source code and instructions.
Download... 6.66Kb
Note that Java is case sensitive. The applet must be named PopWindow.jar


Most of the parameters are self explanatory, but here goes (see HTML tag below):

Codebase:

The URL of the directory where you put your .class files.

Code:

The name of the class file (in this case PopWindow.class)

Archive:

The name of the archive (in this case PopWindow.jar).

Height:

The height of the applet window (should be set to zero for this applet).

Width:

The width of the applet window (should be set to zero for this applet).

DialogWidth:

The width of the dialog box.

DialogHeight:

The height of the dialog box.

Title:

The title of the dialog box.

SoundFile:

The sound file to play upon displaying the dialog box (OPTIONAL).

No_lines:

Number of text lines (0-4 lines).

No_buttons:

Number of buttons (0-10 buttons).

Line#:

Text line to display.

Button#:

Label of button.

Link#:

Link opened when button# is clicked (there has to be a link for every button specified).

TextRed:

An integer between 0-255 that specifies the value of the text red color.

TextGreen:

Like above. But for green.

TextBlue:
Like above. But for blue.

ButtonRed:

An integer between 0-255 that specifies the value of the button red color.

ButtonGreen:

Like above. But for green.

ButtonBlue:

Like above. But for blue.

DialogRed:

An integer between 0-255 that specifies the value of the dialog background red color.

DialogGreen:

Like above. But for green.

DialogBlue:

Like above. But for blue.

Author:

DO NOT CHANGE THIS FIELD. If you do, you will not be able to use this applet.

Note: If you do not want to play a sound remove the param line specifying soundFile (or comment it out).