Java Applets Home Magic Image

Magic Image Java Applet   Commercial Version 1.0


Information :

Magic Image is a special image effect Java applet.

URL: http://www.appletcollection.com/magicimage.html

Author: Gokhan Dagli

eMail : info@appletcollection.com

Class File : magicimage2.class

See Also:
4Slideshow
DHTML Image Slideshow Script Wizard

This effect contains the code by Gokhan Dagli, used under a licence. Before using this applet you must read the license agreement.

Registration fee: $19USD   Please try it before you buy it. Buy it once, use same regcode for new versions! You have to pay small amount of money to receive your registration codes (regcodes). You can buy the registration code using a credit card through Regnow secure servers.

You can use the applet freely to enhance your web pages (commercial or non-commercial). However, I placed a status bar warning that will appear when the applet is online on a site and regcode parameter isn't correct.

Sample :



Magic Image java applet, Copyright 2003 GD

Include the applet in an HTML page with code similar to the following:

<applet code="magicimage2.class" width=460 height=80>
<param name=info value="Applet by Gokhan Dagli,www.appletcollection.com">
<param name=regcode value="">
<param name=bgcolor value="bf2222">
<param name=foreground_image value="mimg.gif">
<param name=background_image value="txture.jpg">
<param name=status_bar value="Click here">
<param name=scroll_way value="false">
<param name=delay_time value="40">
<param name=link value="http://www.appletcollection.com">
<param name=target_frame value="_self">
<a href="http://www.appletcollection.com/">Magic Image java applet, Copyright 2003 GD</a>
</applet>




Code explanations :

The following instructions describe the meaning of the available parameters for this applet:


<applet code="magicimage2.class" width=140 height=140>

The applet tag identifies the location, class file name, and size of a Java applet. The first part of the tag code=magicimage2.class identifies the name of the Java applet. The second and third part of the applet tag identify the width and height of the applet (usually measured in screen pixels).

<PARAM NAME=regcode VALUE="">

Registration code (if you have it). Place the registration code you purchased from us into value section of this parameter. You have to pay small amount of money to receive your registration code (regcode). Click here to buy your regcode.

<PARAM NAME=info VALUE="Applet by Gokhan Dagli,www.appletcollection.com">

Information about the Magic Image.

<param name=bgcolor value="bf2222">

Background color of the applet.

<param name=foreground_image value="mimg.gif">

Name of the foreground image. It must has transparent area.

<param name=background_image value="txture.jpg">

Name of the background image.

<param name=status_bar value="Click here">

Status bar message.

<param name=scroll_way value="false">

true or false. Scroll direction.

<param name=delay_time value="40">

Delay time of paint process. 20-400

<param name=link value="http://www.appletcollection.com">

Target URL.

<param name=target_frame value="_self">

Target frame.

</applet>

The last part works like all other HTML tags and defines the end of the applet tag </applet>.

Getting Started

  • Place the class file (magicimage2.class) and two images in the directory containing the HTML document into which you want to insert the applet (or into a different directory, and add the correct CODEBASE= attribute).
  • Paste the applet tag from the sample into your HTML file.
  • The info parameter must be included for the applet to run. It is case sensitive, and the number of spaces between words must be identical (entirely single-spaced). If you try to run the applet and you see the message "info parameter error", it denotes a problem with this parameter.

Troubleshooting & Support

  • Please send me any questions, requests or remarks you might have to: info@appletcollection.com
  • Usually the easiest way to customize the applet is cut and paste the applet tag information used in the sample and modify it to fit your web page.
  • If you see a "class not found" message, this means what it says -- your browser can't find the .class files specified. This may mean a spelling or case mistake in the CODE= attribute, the wrong location in the CODEBASE= attribute, or that you've forgotten to copy the .class file (magicimage2.class) to the necessary directory.
  • Make sure that your <APPLET> tag, closing </APPLET> tag, and all <PARAM> tags have < and > brackets. Check that the value for every parameter is enclosed between " signs.
  • If you see a NullPointerException displayed in the browser status-bar, it's most likely to be caused by a mistake in an image-based parameter. Check that paths and names of images are correct.
  • If the applet runs, but you can't make it do what you want it to do, please take another look at the documentation.




Magic Image Java Applet- Copyright (C) by Gokhan Dagli 2000-2003


Popular Applets Collection Java Applets

Advanced News Scroll

Advanced Newsticker

Horizontal Menu Scroll

Advanced Typewriter Scroll



Java Applets

A. Vertical Menu

Magic Text Scroll

Newsticker

Absolute Menu

Billboard

Magic Image

Magic Typewriter

DissolveImage

Screw

FineDots

Java Applets Home


Text Effects Collection Java Applets

Announcer

A.H. Scrolling Text

Message Slider

Headline Typer

Flying Letters

Headlines

TypeWriter

Wipe Right