Demo

Demostration of WindowMenu Applet.

Description

This applet is designed to look like a window menu with interactive icon buttons that simulate the toolbar buttons in Internet Explorer 4.0. When a button is press it displays the URL that it is referred to. It could be implemented with or without images. In version 2.0 it gives you the option of whether to have a title bar or not, as well, as being able to choose the font size, and border style.

Accomplishments

JARS top 25%

Usage/parameters

nIcon The number of icon buttons in the window.
row The number of rows in the window.
col The number of columns in the window.
label?? The label of the button "label0" is the first one.
image?? The image of the button "image0" is the first one. (optional)
link?? The link which the button refers to "link0" is the first one.
target The target frame which the link should open in. (optional)
titleBar Determine if there will be a title bar displayed in the window. "true" indicates that there will, "false" indicated that there won't. (optional) The default is "true".
title The title which displays in the window title bar. (optional)
logo The logo which displays in the window title bar. (optional)
titleFontSize Determine the size of the font in the title bar. (optional) The default is 13.
iconFontSize Determine the size of the font in the icon buttons. (optional) The default is 13.
borderRaised Set the style of the border "true" indicates the border is raised, "false" indicates the border is descents. (optional) The default is "true".

Example

Here is an example of the HTML source code for embedding this applet:

    <applet archive="WindowMenu.jar" code="WindowMenu.class" width="370" height="215">    
	<param name="title" value="WindowMenu Applet Demo"> 
	<param name="logo" value="images/ie4icon.gif"> 
	<param name="nIcon" value="4"> 
	<param name="row" value="2"> 
	<param name="col" value="2"> 
	<param name="label0" value="Home"> 
	<param name="image0" value="images/home.gif"> 
	<param name="link0" value="../main.html"> 
	<param name="label1" value="About Me">    
	<param name="image1" value="images/about.gif"> 
	<param name="link1" value="../aboutme.html">    
	<param name="label2" value="Cool Links"> 
	<param name="image2" value="images/links.gif">    
	<param name="link2" value="../links.html"> 
	<param name="label3" value="Games">    
	<param name="image3" value="images/games.gif"> 
	<param name="link3" value="../finalquestx.html">    
    </applet> 

Version Updates

Version 1.1

  • Made the applet compatible with web browsers which only support Java 1.0.

Version 2.0

  • Made the applet so that the title bar can be displayed optionally, the size of the fonts can now be adjusted, and finally the border now have two styles to choose from.

Version 2.1

  • Made the applet so that the entire address doesn't have to be entered when having references to a URL.

Download

Download this applet now. (source code included)

.