473,770 Members | 1,994 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

java applet alternate text

I have a website & applet produced under Windows-XP. It works fine. I took
it to a machine running Windows 98 & an earlier version of Java to test what
happens when I open the web page using IE6 & FireFox. The html invoking the
applet is:

<applet code="assumptio ns.class" archive="poppro j.jar" width='760'
height='340'>
This applet was coded using Java 1.5.0_08-b03.</applet>

Instead of the expected text, both browsers said "Loading Java Applet
Failed...". How do I display the explanatory text?

Mar 2 '07 #1
3 4391
On Mar 3, 3:34 am, "Jimbo" <noaddr...@fusp ammer.comwrote:
I have a website & applet produced under Windows-XP. It works fine. I took
it to a machine running Windows 98 & an earlier version of Java to test what
happens when I open the web page using IE6 & FireFox. The html invoking the
applet is:

<applet code="assumptio ns.class" archive="poppro j.jar"
alt='Java must be enabled for this applet to work'
..width='760'
height='340'>
This applet was coded using Java 1.5.0_08-b03.</applet>

Instead of the expected text, both browsers ..
Browsers, or MS' OS component?
>...said "Loading Java Applet
Failed...". How do I display the explanatory text?
Try the 'alt' attribute, but some
PC/browser/plug-in/security setting
combinations will simply present a big
gray square (and not even a message),
no matter what you do.

You are better off looking to JWS, to
launch applets.
E.G. <http://www.physci.org/jws/#jtest>

HTH

Andrew T.

Mar 2 '07 #2
Scripsit Andrew Thompson:
alt='Java must be enabled for this applet to work'
Do you think that would be an ALTernative way of presenting the information
that would be conveyed by the applet if it were run?
>This applet was coded using Java 1.5.0_08-b03.</applet>
That's of course very clueless. The content of an <appletelemen t is
supposed to specify an alternative content, not to act as a comment.

Thus, I think we can safely assume that the applet has no useful purpose,
so - assuming that it is retained - its content should be empty, and it
should have alt="" to signal that.
Try the 'alt' attribute, but some
PC/browser/plug-in/security setting
combinations will simply present a big
gray square (and not even a message),
no matter what you do.
Indeed. That's one reason for avoiding Java applets on web pages. But if you
use them, the alternatives should make sense. One of the few browsers with
_adequate_ support to <applet>, Lynx, displays first the content of the alt
attribute, then the content of the element (excluding <paramelement s of
course), so there should be no duplication in them. And, of course, if the
"alternativ e content" just babbles about software that the user is not using
and won't use, it will be a useful cluelessness indication.

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

Mar 2 '07 #3
On Mar 2, 9:34 pm, "Jimbo" <noaddr...@fusp ammer.comwrote:
I have a website & applet produced under Windows-XP. It works fine. I took
it to a machine running Windows 98 & an earlier version of Java to test what
happens when I open the web page using IE6 & FireFox. The html invoking the
applet is:

<applet code="assumptio ns.class" archive="poppro j.jar" width='760'
height='340'>
This applet was coded using Java 1.5.0_08-b03.</applet>

Instead of the expected text, both browsers said "Loading Java Applet
Failed...". How do I display the explanatory text?
i think when you were running your java programme then might be some
of the options in internet explorer for running java have some
problems.
you can check them by for(ie 6)

1. open internet explorer
2. go to tools and then options
3. in options go to advance options
4. you will see java small logo check that options
5. restart your computer

hope that this will going to solve your problem

Mar 4 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
3386
by: apchar | last post by:
I am trying to use php as a kind of servlet to act as a middle man between a java applet and mysql. I know java has jdbc but it's flakey and painful. php access to mysql is much nicer. So I have: 1. An html page that holds the applet. 2. a php page that accepts data submitted to it by the applet via the $_POST array and writes it to the mysql database. This page never makes it to the browser window. 3. a simple Thank you page that shows...
0
9873
by: James Hong | last post by:
Help please, I try to sending an email from my html page using the java applet. but it give error on most of the PC only very few work, what is the error i make the java applet show as below ********************************** package Celcom.Client;
5
29435
by: java_helloworld | last post by:
I am trying to print from an applet using the Java Print API. If I run the applet on appletviewer then things work fine i.e. I am able to get the print out. If I run the applet on a browser then the print icon is loaded on the system tray and there is no print outs. I am trying to print on HP laser jet printer. Please help me to sort the err in the code or my understaning. Thanks a ton!!!
1
2193
by: mark | last post by:
Adding an applet to a web page through the <object> tag, allows you to target the JVM in 2 ways. (ref. http://java.sun.com/products/plugin/versions.html ) 1. "Dynamic Versioning", which basically means "run with version X or greater". 2. "Static Versioning", which targets a very specific version, e.g. 1.3.1_06.
12
4780
by: Wladimir Borsov | last post by:
On one of my web pages there is an java applets which works fine on my computer. However I noticed on some other computer that the run of java applets are disabled. I got an error message "Classnotfound" Is there a way to detect (with cgi resp. javascript) if java applets are allowed? I would like to show a simple picture instead of the applet pane if applets are not allowed. Wladimir
1
9652
by: David Van D | last post by:
Hi there, A few weeks until I begin my journey towards a degree in Computer Science at Canterbury University in New Zealand, Anyway the course tutors are going to be teaching us JAVA wth bluej and I was wondering if anyone here would be able to give me some tips for young players such as myself, for learning the language. Is this the best Newsgroup for support with JAVA?
9
2395
by: Mickey Segal | last post by:
The long-simmering Eolas patent dispute: http://www.microsoft.com/presspass/press/2003/oct03/10-06EOLASPR.mspx has led to an optional Microsoft Update: http://support.microsoft.com/kb/912945/en-us that creates non-JavaScript problems that can be fixed using JavaScript. With the Microsoft update installed, Java applets (as well as other content such as Flash videos) are unable to receive user input until an activating click or key press....
4
11485
by: aotemp | last post by:
Does anyone know how to detect the version of Java installed? My website has an application that requires java 1.5+ to be installed, basically if the user doesn;t already have it installed I redirect them to the java download page... thanks!
0
1470
by: crispinternet | last post by:
hi there, well its been 3 days and still i cant find the solution to a problem i have, im on the last bot of a long project and cant seem to get this working. basically i have a signature applet which received a signature from a customer, once signed it should be inserted in to a database where later on i have a php script to write the x ad y co ordinates which are in the database. what i can not seem to do is pass the varible generated bu...
0
9618
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10259
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10101
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9906
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6710
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5354
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4007
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3609
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2849
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.