Learn java Yourself

TransparentPic Applet


This applet draws two images. The first is loaded from the web. The second is created in memory and is transparent. Changing the transparent area of the secong image creates this effect.
Your browser doesn't support java or java is not enabled!

Copy the following code and put it in an html file:
<APPLET CODE=TransparentPic.class WIDTH=140 HEIGHT=136>
<param name="ImageToDisplay" value="Image1.jpg">
<param name="bgCOLOR" value="255,255,255">
<param name="Window" value="20">
<param name="Author" value="George Eleftheriou">
<param name="Email" value="gele@egnatia.ee.auth.gr">
Your browser doesn't support java or java is not enabled!
</APPLET>
Download the class and put it in the same Direcory


© Copyright 2001