Sitemap

Amicuk Programming Answers

Applet, Netscape and Opera but not IE, encore

2015-10-11   Views:0

Advertisement

I've got the following trivial applet that runs under Netscape and Opera, but not under IE. It's also at www.MartinRinehart.com as the ColorChooser choice. There's a half dozen Dukes from previous posts, and my sincere gratitude for anyone who can te

I've got the following trivial applet that runs under Netscape and Opera, but not under IE. It's also at www.MartinRinehart.com as the ColorChooser choice. There's a half dozen Dukes from previous posts, and my sincere gratitude for anyone who can tell me what I need to do so IE doesn't say "Load: class CCApplet not found."
import java.awt.BorderLayout;
import java.awt.Button;
import java.awt.Label;
public class CCApplet extends java.applet.Applet {
     public void start() {
          Label l = new Label( "CCApplet!" );
          setLayout( new BorderLayout() );
          add( l, BorderLayout.NORTH );
          add( new Button("South"), BorderLayout.SOUTH );
} // end of class CCAppletThe .class is in the same directory as the .html. Putting it in a .jar doesn't seem to matter. My IE runs other applets from the web, but not the ones I write. Thanks in advance.

The replay answer
Advertisement
The applet runs for me in IE with 1.5.0_02, XP Pro (current updates), with class and html files in same directory.
Check that everything in IE's Java Plug-in is valid and correct. Check IE's Internet Options.
What JVM version are you wanting the applet to be able to run with? What does this statement mean? "...most visitors can use without knowing what a JRE is."
To get greatest compatibility, use code that conforms to the 1.1 API, compile to that target version, possibly use the old 1.1 libraries, and then test each jvm. (BTW - Swing has limited compatibility - it isn't MS compatible, and wasn't [Sun] standard until jvm version 1.2.)

Go to See the other 15 answers

Applet, Netscape and Opera but not IE, encore

Category:DefaultRelease time:2015-10-11Views:130

I've got the following trivial applet that runs under Netscape and Opera, but not under IE. It's also at www.MartinRinehart.com as the ColorChooser choice. There's a half dozen Dukes from previous posts, and my sincere gratitude for anyone who can te[More]

IE, Netscape and Opera problems my .css

Category:DefaultRelease time:-0001-11-30Views:130

Hello! I have just built a site for a designer in dreamweaver, and it looks great in FF and Safari. IE 5,6,7 and Opera push the <h1> content down and in Netscape the container div doesn't expand down to contain the content. I have browser cam screen[More]

ClassNotFoundException Applet in Opera Mac OS X

Category:DefaultRelease time:-0001-11-30Views:130

I'd like to display a simple Hello World applet in the Opera v6.03 browser on Mac OS X 10.2.8. I continue to see this class not found exception, though I am able to run this exact applet, with the same html in several other browsers on the Mac. Is an[More]

Applet not viewable in browser

Category:DefaultRelease time:2015-10-11Views:130

Hi applet not viewable in browser any website that uses java code seems not to run on my browser though it runs normally well on my friends computer. The browser shows a screen area in grey colour with an error message like "Exception: java.lang.Clas[More]

Can't run an applet with Internet Explorer for Windows

Category:DefaultRelease time:2015-10-11Views:130

I'm not sure this is the right news group, if not please direct me to the correct one. I have an applet at http://209.55.115.36/webfit/Instructions/instructio_list.php?section_id=1&instructionsPage=2 It works in various browser except internet explor[More]

Class not found. Or: THERE'S NO SUCH THING AS APPLETS

Category:DefaultRelease time:-0001-11-30Views:130

Okay, the problem I�m having seems to be somewhat widespread judging from the forum achieves, but I wasn�t able to find any answers that worked for me. So forgive me if I�m treading old ground, but asking explicitly is my one last attempt to learn wh[More]

Where are Applets stored in WinNT/IE5.5

Category:DefaultRelease time:-0001-11-30Views:130

Hi Folks, A client is receiving an error saying (not exact) Java.Lang error cannot find ...class In Winnt\Downloaded Program Files, Java 1.3.1 is saying it is damaged. I have reinstalled IE 5.5 but the error remains. How can I reinstall Java, and/or[More]

Probllem with applets connecting to servlets

Category:DefaultRelease time:-0001-11-30Views:130

This piece of code has an applet making a connection to a server. This works using the older version of an appletviewer but not on the jdk1.2 appletviewer and also on netscape nor opera browsers. It gives me a security... error. import java.awt.*; im[More]

Trying to Imitate the html POST  method with an applet

Category:DefaultRelease time:2015-10-11Views:130

I am trying to imitate the POST method with an applet, so that I can eventually send sound from a microphone to a PHP script which will store it in a file on a server. I am starting out by trying to post a simple line of text by making the PHP script[More]

Linux, Netscape 7.01 and java plug-in how to install?

Category:DefaultRelease time:2015-10-11Views:130

I have J2SE v 1.4.1_01 SDK installed in /usr/java/ directory. Some days ago I installed Netscape 7.0.1 on my RedHat 8.0 Linux. Now if I try to run my simple html page which calls simple java applet, I get message to install proper plug-in. "OK"[More]

Is there any way for applets to write to files?

Category:DefaultRelease time:-0001-11-30Views:130

i heard that java applets restricts file operations. is that true? im not looking in particular for code samples, but just the basics.You'll be interested to see this thread: http://forum.java.sun.com/thread.jsp?forum=54&thread=271166Read other 2 ans[More]

Hot
We have a client who is not using biztalk but transmitting files to us via AS2. The AS2 file transmission occurs seamlessly when the file size is below 5MB, but Biztalk AS2 decoder fails to decrypt when file size exceeds 5MB. After searching the foru [More]
Hello, I want to start a new project, but as my last one is super heavy (340GB) i want to save all the material involved in that heavy project (the project+ the events,gop, etc) in my external hard drive so i can free space from the macbook and start [More]
Hi, I have Toshiba C660D-1F2 PSC1Ye-02N00PGR. The poor thing had a taste of water, but it survived all except the keyboard. The laptop is originaly from Austrija/Germany, but the sacend hand keyboard came from Croatia (QWERTZ with croatian extra lett [More]
I haven't purchased from iTunes in several weeks. I had a balance of $41.25 last night and purchased $7.96. My balance is now $29.31 - missing $3.98. I emailed the support group and just got an answer on how to view my account. I already did that and [More]
Goal is to have an image associated to a gallery, that toggles between one of two images based on a data state on another page. This description is way over-simplified. Will do my best to explain (Images below may help) ... Description: This app is a [More]
I have a greyscale image on a page in InDesign CC 2014. I add a band of 70% black across the middle of it and select multiply. The area under the band gets darker as expected, however the rest of the photo above and below the band gets lighter, sort [More]
Can SQL*PLUS deal with 'flat ASCII files' (input ) in UNIX ? and how?No, but PL/SQL can. Look at utl_file. John Alexander www.summitsoftwaredesign.comRead other 2 answers [More]
Please use this forum to provide feedback about OTN content/services. All other posts will be DELETED.Please use this forum to provide feedback about OTN content/services. All other posts will be DELETED.Read other 7 answers [More]
Hi Experts, we want to install solution manager. But it seems Solution manager should be connected to SAP. Is it possible to use SNC over Internet to connect our  Solution manager to SAP? What kind of connection is normally used? Thanks a lot. Rongfe [More]
Hi All, We have a requirement to add the internal order description field ((COAS-KTEXT  -> AUFTEXT) together with the Order field(AUFNR) in the FB03 and FV60 layout . Please kindly help me is this possible to add order description field in the FB03 l [More]