Free Republic
Browse · Search
News/Activism
Topics · Post Article

Skip to comments.

Question for programmers about Java applets for website [Vanity]
21 Feb 2009 | TQC

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


TOPICS: Unclassified
KEYWORDS: java; software; sunmicrosystems; techping
Navigation: use the links below to view more comments.
first 1-2021-30 next last

1 posted on 02/21/2009 6:16:05 AM PST by Titus Quinctius Cincinnatus
[ Post Reply | Private Reply | View Replies]

To: Titus Quinctius Cincinnatus

Sounds to me like the applet is not being found by the page.


2 posted on 02/21/2009 6:18:39 AM PST by tonyinv (I Want Obama To Fail ..there I said it...now say it with me.)
[ Post Reply | Private Reply | To 1 | View Replies]

To: Titus Quinctius Cincinnatus; rdb3; Calvinist_Dark_Lord; GodGunsandGuts; CyberCowboy777; Salo; ...

3 posted on 02/21/2009 6:20:55 AM PST by ShadowAce (Linux -- The Ultimate Windows Service Pack)
[ Post Reply | Private Reply | To 1 | View Replies]

To: Titus Quinctius Cincinnatus
Read here... Using the Object and Embed tags for a Java Applet
4 posted on 02/21/2009 6:31:23 AM PST by SolidRedState (Someone finally found a spine and it is attached to an Alaskan Governor!)
[ Post Reply | Private Reply | To 1 | View Replies]

To: Titus Quinctius Cincinnatus

not enough info...red x’s usually mean path and/or permission/rights issues...


5 posted on 02/21/2009 6:31:45 AM PST by databoss (I'm with Etta..."big ears" is not my President either)
[ Post Reply | Private Reply | To 1 | View Replies]

To: tonyinv
Does it look like this?

Sorry can't help you bump ... unless you've got an img src tag open ... ;-)

6 posted on 02/21/2009 6:32:16 AM PST by Tunehead54 (Nothing funny here ;-)
[ Post Reply | Private Reply | To 2 | View Replies]

To: Titus Quinctius Cincinnatus

Use .NET.

Save yourself the learning curve.


7 posted on 02/21/2009 6:33:05 AM PST by Glenn (Free Venezuela!)
[ Post Reply | Private Reply | To 1 | View Replies]

To: Titus Quinctius Cincinnatus

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.


8 posted on 02/21/2009 6:33:52 AM PST by MichiganConservative (You are a slave. The government is your owner and master. For many slaves, it is also their god.)
[ Post Reply | Private Reply | To 1 | View Replies]

To: Tunehead54

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.


9 posted on 02/21/2009 6:36:13 AM PST by Titus Quinctius Cincinnatus (Nihil utile nisi quod honestum - Marcus Tullius Cicero)
[ Post Reply | Private Reply | To 6 | View Replies]

To: Glenn

What is .NET?


10 posted on 02/21/2009 6:36:28 AM PST by Titus Quinctius Cincinnatus (Nihil utile nisi quod honestum - Marcus Tullius Cicero)
[ Post Reply | Private Reply | To 7 | View Replies]

To: Titus Quinctius Cincinnatus
How did you install it?

It has to be installed as a component rather than just cut and paste the code, if I'm reading you question correctly

11 posted on 02/21/2009 6:37:33 AM PST by Las Vegas Ron (Obama says we should listen to our enemies, but not to Rush)
[ Post Reply | Private Reply | To 1 | View Replies]

To: Titus Quinctius Cincinnatus
What is .NET?

Microsoft's web framework. Easier to program. Easier to understand. Stable. Not so esoteric.

12 posted on 02/21/2009 6:37:37 AM PST by Glenn (Free Venezuela!)
[ Post Reply | Private Reply | To 10 | View Replies]

To: Las Vegas Ron
It has to be installed as a component rather than just cut and paste the code, if I'm reading you question correctly

Okay, that's what I did, I just cut and pasted the code. Bad move, eh?

13 posted on 02/21/2009 6:39:19 AM PST by Titus Quinctius Cincinnatus (Nihil utile nisi quod honestum - Marcus Tullius Cicero)
[ Post Reply | Private Reply | To 11 | View Replies]

To: Glenn
Microsoft's web framework. Easier to program. Easier to understand. Stable. Not so esoteric.

Cool, how do I access it?

14 posted on 02/21/2009 6:39:43 AM PST by Titus Quinctius Cincinnatus (Nihil utile nisi quod honestum - Marcus Tullius Cicero)
[ Post Reply | Private Reply | To 12 | View Replies]

To: Glenn

Have you done anything with Silverlight?


15 posted on 02/21/2009 6:40:12 AM PST by dfwgator (1996 2006 2008 - Good Things Come in Threes)
[ Post Reply | Private Reply | To 12 | View Replies]

To: Titus Quinctius Cincinnatus

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.


16 posted on 02/21/2009 6:42:30 AM PST by MichiganConservative (You are a slave. The government is your owner and master. For many slaves, it is also their god.)
[ Post Reply | Private Reply | To 1 | View Replies]

To: dfwgator
Have you done anything with Silverlight?

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.

17 posted on 02/21/2009 6:43:14 AM PST by Glenn (Free Venezuela!)
[ Post Reply | Private Reply | To 15 | View Replies]

To: Titus Quinctius Cincinnatus
Well, if it's like an Active X control or a running program, the component itself should be placed in the root directory of the web.

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

18 posted on 02/21/2009 6:43:28 AM PST by Las Vegas Ron (Obama says we should listen to our enemies, but not to Rush)
[ Post Reply | Private Reply | To 13 | View Replies]

To: MichiganConservative

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....


19 posted on 02/21/2009 6:46:53 AM PST by Titus Quinctius Cincinnatus (Nihil utile nisi quod honestum - Marcus Tullius Cicero)
[ Post Reply | Private Reply | To 16 | View Replies]

To: Las Vegas Ron
Well, if it's like an Active X control or a running program, the component itself should be placed in the root directory of the web. 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

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.

20 posted on 02/21/2009 6:48:28 AM PST by Titus Quinctius Cincinnatus (Nihil utile nisi quod honestum - Marcus Tullius Cicero)
[ Post Reply | Private Reply | To 18 | View Replies]


Navigation: use the links below to view more comments.
first 1-2021-30 next last

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.

Free Republic
Browse · Search
News/Activism
Topics · Post Article

FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson