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 to me like the applet is not being found by the page.
not enough info...red x’s usually mean path and/or permission/rights issues...
Sorry can't help you bump ... unless you've got an img src tag open ... ;-)
Use .NET.
Save yourself the learning curve.
What libraries are needed? Are those being referenced and downloaded properly?
You can open up your Java runtime log and read the error messages. There should be a JRE icon in the group of little icons in the lower right corner on Windows.
It’s been a while since I’ve worked with an applet.
No, it looks like an icon of a piece of paper, folded in the corner, and with an X in the centre of the page.
What is .NET?
It has to be installed as a component rather than just cut and paste the code, if I'm reading you question correctly
Microsoft's web framework. Easier to program. Easier to understand. Stable. Not so esoteric.
Okay, that's what I did, I just cut and pasted the code. Bad move, eh?
Cool, how do I access it?
Have you done anything with Silverlight?
Is it an applet you wrote or an applet you found somewhere that could be useful?
Switching to .NET probably isn’t a viable option, since it’s already written.
But, if you don’t know what .NET is, you might not have written the applet.
What is the applet supposed to do? It might be worth your time to look around and see if there’s some jQuery, Dodjo Toolkit, or ExtJS plugin or widget that does the same thing with Javascript.
Getting Javascript to work and maintaining or modifying it is a lot easier, I’ve found, than writing, maintaining, and modifying a Java applet.
A ton. It's nice. I am working on a major project for a defense contractor as we speak.
I have done a big interface using WCF and it works perfectly.
From there it needs to be installed/inserted as a component for it to run.
Again, that's if I'm understanding correctly what you are trying to do
The applet was just one I pulled off the web somewhere. The applet was basically a simple “typewriter” type text applet, you know, prints text out one charactre at a time.
I’m thinking I may just need to either spring for Dreamweaver, or else sit down and teach myself Java....
I think you're assuming I'm more complicated than I really am! This was just a "typewriter" applet that I cut and pasted from some free applet site on the internet.
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.