Posted on 02/21/2009 6:16:05 AM PST by Titus Quinctius Cincinnatus
Hi everyone,
I tried installing a Java applet onto a website today, but the applet seems to be non-functional - a white box with an X in the upper left corner appears. I check, and have a recent version of Sun Microsystems Java installed and running on my PC. Is there some critical piece of enabling code that I'm forgetting?
Thanks, TQC
Sounds like you should be able to find something written in Javascript to do the job. Keep looking around. I know there are some Javascript WYSIWYG text editors out there.
Did you actually obtain the applet and supporting files, or just copy the code from another web page?
You must have the actual applet on your web server and change the code to point to it.
Also, if you use Javascript, use Firefox with the Firebug plougin so you can debug the Javascript.
I just copied the code.
Thanks everyone for your help. I’ll check in on the thread later, but methinks I am a bit in over my head even with this right now (I’m not a programmer at all - simple HTML is about all I know of web-based programming)....
All the code does is point to where the program is located and tell it what to do once it finds it (how to load, where it goes on the page, etc.)
Just leave all the ports on your website open - eventually some java applets - amongst other things - will install themselves..
Okay, thanks a lot!
Good luck!
Thanks LVR, I did finally figure out what I did wrong. I was forgetting to download and place the .class file in my root, as people on here said. The applet is working fine now, and I learned a teensy bit about web design!
Disclaimer: Opinions posted on Free Republic are those of the individual posters and do not necessarily represent the opinion of Free Republic or its management. All materials posted herein are protected by copyright law and the exemption for fair use of copyrighted works.