Viewing Applets Help Page 3
 
 
ALC Snow Applet
Can you see the Applet? 
 This applet is working from an<IFRAME> code on the webpage.
 
Coding Applets Using An <IFRAME> Tag
 
For those of you who are using
Windows XP (especially with Service Pack 2 or 3 installed),
 Windows Vista 32 Bit or Vista 64 Bit, Windows 7 and all subsequent versions of Windows operating systems, 
 
 Microsoft Java Virtual Machine has been
retired permanently as of June 30, 2009 . . .
 

******** Microsoft Release *********

The Microsoft Java Virtual Machine reached the end of its life as of June 30, 2009. Customers are encouraged to take proactive measures to stay informed about obsolete software and move away from the MS JVM in a timely fashion. The MS JVM is no longer available for distribution from Microsoft and there will be no enhancements to the MS JVM. Microsoft products and SKUs currently including the MS JVM have been retired or replaced by versions not containing the MS JVM.

Obsolete software, whether in the form of unsupported products, old service packs, or even expired certificates, is an issue every customer needs to be concerned with. Microsoft software life cycle communications help customers identify obsolete software in a proactive and ongoing fashion.

****************************************

Due to the settlement of this lawsuit between Microsoft and Sun Java, this program will no longer be included with the Windows software.  Instead, you will only have the Sun JRE java program available to you.
 
We will  need to find an alternative method for applet scripting in Outlook Express and Windows Mail and possibly eventually Internet Explorer may be affected as well.  I was able to view applets with the <applet> code in XP with the Service Packs 2 & 3 installed using Sun JRE and the security setting changes to view applets on the internet with much success.  However, I am not sure that will last for long.  We may be required to make a permanent change to our way of coding applets altogether eventually.  If that happens, a suggestion might be to use the <IFRAME> code as I have done above.
 
You may decide that even after making changes to your security settings, if you are still having problems viewing applets in your e-mail program,  to begin using the Sun  JRE program now.
You may, by personal choice, have decided that you would rather use the Sun JRE java program now if you are using Windows XP. 
 
You can make sure that the Microsoft VM is unchecked and the Sun JRE option is checked in your Internet Security Options (Advanced tab).  Click on the Start/settings/control panel/internet options/advanced tab and then make that change.  Be sure to Apply/OK to save your changes.   Then, reboot your computer for the changes to take effect. 
 
 
******************************************
Please double check your security settings with our Applet Viewing Help Page 2 if you are having problems viewing applets on the internet.  As for viewing applets in your e-mail, if you are using the default Sun JRE program to view applets, you will need to make some changes in the way that you code your applet stationery script and in the handling of your <applet> code.
 
*****************************************
 
To be able to view our applet stationery creations again,  we will  first  need to make a change in the way we will be handling our <applet> tags.  Then, we will need to make a change in the way that we code our stationery scripts. 
 
Step 1:
 
First you will need to make an .html document containing the applet code that will be uploaded to your website along with your class files for the applet.   In the following code you will see  CodeBase="./"  in the applet code which simply means that the applet files will be located in the shell of your website. 
 
*Note - I have always kept my applet files (such as class files and jar files) in the main root of my website. I have found in the past that some applets will not work when you put these files in subfolders.  I do, however,  keep my main images in subfolders to keep them organized. 

Example of the applet code:

<APPLET code=alcsnow.class codeBase="./" height=290 width=350>
<PARAM NAME="snows" VALUE="600">
<PARAM NAME="grph" VALUE="images/kidsnowman.jpg">
<PARAM NAME="threadsleep" VALUE="100">
</APPLET>

 
 Save the sniplet of code as an .html file and name your file something similar to the name of your stationery (stat1.html for example) or website .html file.  The reason that I suggest that you name the applet .html with a similar name as your stationery .html or website .html file is so that it will  make it easier for you to locate when you need to find it quickly to make changes to the <applet> .html file in the future.  Upload this file to your website main shell.
 
Then, once you have uploaded this file to your website, you will be able to call it up each time you use this particular stationery or webpage.  This file will contain the dimensions and names of each of the images used in the applet for that stationery or webpage.  You will need to make a separate .html file for each of your applet stationery .html files or webpage .html files. 

 Step 2:

 The script for your stationery .html or webpage .html file will be coded quite a bit differently than we had done before. You will no longer be coding the applet code in your script as we had done in the past.You will now be using an <IFRAME> tag to display the applet in Outlook Express or Windows Mail and even in Internet Explorer if you would like. The applet should then be viewed correctly by everyone with Sun JRE installed, and will not require you to have MS JVM installed at all.

You will create all styles, applet borders, etc. in this <IFRAME> source.   Make the src=" " point to the web location of your <APPLET> tag html file only. Use the width= & height= from the <APPLET> tag for the width and height in the <IFRAME> tag  style if needed.

Example of the IFRAME code:

<IFRAME marginWidth=0 marginHeight=0 src="http://your website addy/applet filename.html" frameBorder=0 scrolling=no height=290 width=350></IFRAME>

For those of you who are in need of help with your security settings for Internet Explorer and are using the Windows 98, Windows 2000, Millenium or Windows XP with SP1 only, you can find assistance on the  Viewing Applets Help Page 1 .

For those of you who are in need of help with your security settings for Internet Explorer and are using the Windows XP with SP2 and/or SP3 and Windows Vista , you can find assistance on the  Viewing Applets Help Page 2 for XP

I hope that this information has been helpful and will solve some of your problems. I am amending the zip files on the group site and adding the applet .html files into each of the zip files and <IFRAME> information for theWindows 7, XP and Vista users. This will take some time however to finish amending the site and group files, so please be patient.

If you still are having trouble, drop me a line at karebear56@adelphia.net .
 
Together we will figure it out. 
 
Hugs,
 
Karen
 


Copyright İFebruary, 1998 - All Rights Reserved.