Applet Doesn't Work in IE; Works in Safari

I just finished writing a Java Applet in OS X for use in a web page, and it runs perfectly in Safari, but when I try to get it to run in Internet Explorer, it does nothing, not even when I run it on a PC. Furthermore, I can't seem to get IE to even give me an error log, despite the fact that I specifically told IE to log all errors in Java. Thus, I have no way of knowing what the problem is except by looking at the "Loading Web Page"-type messages shown at the bottom left of IE's window, which change too fast for me to read any of the important error messages. I think I saw it say something about the name of the applet and "not found" a couple times, but I don't see why this would be a problem when Safari easily runs the applet without any problem. Can someone please help me out?

Try to run ControlPanel to enable java console.
Bye.Thanks, this got me a little further along, but, although it still runs perfectly in Safari, in IE for Mac OS X, the applet freezes whenever I refresh the GUI, and in IE for Windows, it's never been anything more than a grey box. I think that this may be a problem relating to the archetypical Swing Lockup from conflicting threads, but when I did what the tutorial said, which was to use the
invokeLater(new Runnable() {
public void run() {
createAndShowGui();
method, it makes it so that an additional class file pops up after compiling, called EventCalendar$1.class (the applet is called EventCalendar, and EventCalendar.class is also there). When I run the applet like this, it just makes the browser give a "ClassDefNotFound" error for EventCalendar$1.class. I don't know what to do, and I'm running out of time. Please help me out!

Similar Messages

  • JFileChooser applet doesn't work on all platforms

    We have a signed Java applet which works perfectly on Windows XP and Linux but malfunctions on Windows 7 and MacOS 10.5.
    The part which does not work is opening up a JFileChooser (which opens up fine) which then permits the user to browse local files only but not folders on network drives. When the user double-clicks on a network folder or clicks the Open button, nothing happens. The folder is not opened and there are no exceptions reported in the console.
    Obviously it presents as some kind of security violation/exception but, as I said, there are no exceptions in the console and it works fine on some OSes but not others. I have examined the permissions on a folder that does open and one that doesn't (i.e. a network folder) and they certainly are different but I can't spot any obvious problems. All machines have the exact same version of Java (i.e. 1.6.0_20) and it doesn't appear to a 32-bit vs. 64-bit issue as there is a mix of architectures that are working and not working.
    Can anyone suggest how I might go about debugging this or perhaps suggest a resolution? Given that the code that is being executed at the time is Swing code and not application code I am at a bit of a loss as to how to solve this problem.
    The Logical Animal

    It could be the JFileChooser code is being altered or displayed on a thread other than the EDT. OTOH that more typically manifests as a random bug on instances of the application on all platforms/JREs.

  • Applet doesn't work with JRE1.4.1_01

    Hi,
    I have an applet embedded in a remote-server page. It can be loading from the server and running in the local computer with Jre1.3.1. After I uninstalled jre1.3.1 and installed JRE1.4.1_01. My applet doesn't run. Here is the message from Java Consol:
    java.lang.NullPointerException
         at sun.plugin.cache.CachedFileLoader.writeHeaders(Unknown Source)
         at sun.plugin.cache.CachedFileLoader.createCacheFiles(Unknown Source)
         at sun.plugin.cache.CachedFileLoader.access$200(Unknown Source)
         at sun.plugin.cache.CachedFileLoader$3.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.plugin.cache.Cache.privileged(Unknown Source)
         at sun.plugin.cache.CachedFileLoader.download(Unknown Source)
         at sun.plugin.cache.CachedFileLoader.load(Unknown Source)
         at sun.plugin.cache.FileCache.get(Unknown Source)
         at sun.plugin.net.protocol.http.HttpURLConnection.connectWithCache(Unknown Source)
         at sun.plugin.net.protocol.http.HttpURLConnection.connect(Unknown Source)
         at sun.plugin.net.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLConnection.java:1197)
         at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:247)
         at sun.applet.AppletClassLoader.getBytes(AppletClassLoader.java:250)
         at sun.applet.AppletClassLoader.access$100(AppletClassLoader.java:42)
         at sun.applet.AppletClassLoader$1.run(AppletClassLoader.java:143)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:140)
         at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
         at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:114)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
         at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:501)
         at sun.applet.AppletPanel.createApplet(AppletPanel.java:566)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(AppletPanel.java:495)
         at sun.applet.AppletPanel.run(AppletPanel.java:292)
         at java.lang.Thread.run(Thread.java:536)
    I copy the my html file which has this applet built-in to my local computer. The webpage can be openned and the applet running fine even with jre1.4.1. Why it didn't run with Jre1.4.1 and it did run with jre 1.3.1 when loading remotely? Could someone tell me what the above messages mean? Is this a bug from Jre1.4.1_01?
    Thanks,
    Kunlun

    Hello
    i am facing the same problem. when i run my java applet using localhost.. it does not work and shows the same exceptions
    i download the JRE 1.4.1 by using following link
    http://java.sun.com/products/plugin/1.4.1/demos/plugin/applets/SpreadSheet/example1.html
    eventhen it is not working.
    as you said you installed jre .1.3 and then 1.4 but i didn`t install 1.3 i directly installed 1.4. after installing 1.4 i downloaded the jre as you said. but still i am facing the same problem
    and one thing else. i want to check it more then one system. i have to download it again and again can i download its setup once on my harddisk.
    please send me the link
    waiting for your reply
    thanx in advance
    Waris Mirza

  • Applet doesn't work!

    Hello,
    I create an applet from a book. It works in JBuilder4 at home. But when I try to post it on MSFrontPage at home or on the Internet with IE5.5, it doesn't work. It just shows grey applet display with error message "Class SquareInt not found".
    When I checked the class name, and the path it seemed OK to me. But have no idea why it doesn't work.
    The strange thing, if I replace the applet into simple applets, such as "HelloWorld.class", it always works.
    Please help! Thanks.....
    <HTML>
    <HEAD>
    <TITLE> A Simplest Program </TITLE>
    </HEAD>
    <BODY>
    Here is the output of my programs:
    <APPLET CODE=SquareInt.class
    CODEBASE=/pop/maya/
    WIDTH=400 HEIGHT=400>
    </APPLET>
    </BODY>
    </HTML>
    import javax.swing.*;
    import java.awt.Container;
    public class SquareInt extends JApplet {
    public void init(){
    String output ="";
    JTextArea outputArea = new JTextArea(10,20);
    // get the applet's GUI component display area
    Container c = getContentPane();
    //attach outputArea to Container c
    c.add(outputArea);
    int result;
    for (int x=1; x<=10;x++){
    result = square(x);
    output += "The square of "+x+
    " is "+ result+"\n";
    outputArea.setText(output);
    public int square(int y)
    return y*y;

    If i were to make a guess, i'd say it had to do with the name of the file.
    Jbuilder puts things in packages. javaClass.myclass.
    for instance. This, as far as i can tell, will look for a directory called javaClass in whatever directory on the webserver the HTML resides, and look in there for myclass.class.
    to be honest, i've not totally figured out how it works, but this may give you something to look at.
    Also, be sure you have the java plugin installed correctly for ie5.5.

  • Getting JAR file for Applet doesn't work

    Hi,
    We have the following problem: we have some clients who want to use our applet. There are some clients that have problems with receiving the .jar file:
    When the applet tries to start we get a ClassNotFoundException: 'prestaties.class' not found. (the client wants to acces the class file directly from the server)
    If we check the .jar file, it exists on the client, but the file is empty.
    What could be the problem?
    - PRoxy or firewall blocks the jar file
    - applet doesn't have enough rights to write.
    Does anyone a solution, some workarounds or suggestions for this problem.
    Thanks!
    Luk

    Hi,
    Thanks for answering my question!
    Here is the extra information you asked.
    At server side everything is OK (the jar file is present and has all the class files).
    Where working with Weblogic server 4.51
    The clients run JRE 1.3.0-C
    I can't give you the applet code (confidential) but here is the html code:
    <OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" width="600" height="80" align="middle">
    <PARAM NAME="cache_archive" VALUE="prestaties.jar">
    <PARAM NAME="cache_option" VALUE="Plugin">
    <PARAM NAME="cache_version" VALUE="1.4.2.1">
    <PARAM NAME="code" VALUE="be.vdab.cvsesf.applet.prestaties.PrestatiesApplet">
         <PARAM NAME="codebase" VALUE="/lib">
         <PARAM NAME="type" VALUE="application/x-java-applet;version=1.3">
         <PARAM NAME="scriptable" VALUE="true">
         <PARAM NAME="windowId" VALUE="185498422412000">
         <PARAM NAME="cursusId" VALUE="23178">
         <PARAM NAME="opleiding" VALUE="boetseren">
         <PARAM NAME="organisator" VALUE="TESTOE Omschrijving">
         <PARAM NAME="locatie" VALUE="TESTDOSSIER HELKPDESK / 0">
         <PARAM NAME="instructeur" VALUE="TESTDOSSIER HELKPDESK / 0">
         <PARAM NAME="WebLogicSession" VALUE="1">
    <COMMENT>
    <EMBED type="application/x-java-applet;version=1.3" width="600" height="80" align="middle"code="be.vdab.cvsesf.applet.prestaties.PrestatiesApplet"codebase="/lib"pluginspage="cvsesf/plugin.jsp"cache_option="Plugin" cache_version="1.4.2.1" cache_archive="prestaties.jar" windowId = "185498422412000"cursusId = "23178"opleiding="boetseren" organisator="TESTOE Omschrijving" locatie="TESTDOSSIER HELKPDESK / 0" instructeur="TESTDOSSIER HELKPDESK / 0"WebLogicSession="1">
    <NOEMBED>
    </COMMENT>           
              <html>
                   <head>
                        <title>Java plugin download</title>
                        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
                        <link rel="stylesheet" href="../includes/vdabstyle.css">
                   </head>     
                   <body bgcolor="#FFFFFF">
                   <TABLE width="600" border="0" cellpadding="1" cellspacing="0">
                        <tr>
                             <td>               
                                  <h1 align="right"><b><font face="Verdana, Arial, Helvetica, sans-serif">Java plugin</font></b></h1>
                                  <P><B>Voor het invullen van prestaties en vergoedingen heeft u de JRE 1.3 Java Plugin nodig: deze staat op de CD-ROM die u normaal gezien van de VDAB gekregen heeft.<br><br>
                                  Ofwel kan u de plugin hier zelf downloaden (<U>opgelet:</U> bestand is 8 MB groot).<br><br>
                             U kan het VDAB callcenter contacteren om een CD-ROM aan te vragen of om problemen te melden. Het nummer vindt u onderaan het scherm.</B></p>
                             </td>
                        </TR>                    
                   </table>               
                   </body>
              </html>
         </NOEMBED>          
    </EMBED>
    </OBJECT>
    Hope this helps.
    Luk

  • Brightness gnome-applet doesn't work....

    Hi,
    my brightness gnome-applet doesn't wok in my sony vaio vgn s5m....
    how to resolve?
    thanks.

    alex_anthony wrote:
    It doesn't work on a lot of computers. Its because the BIOS is handling your brightness instead of GNOME. I don't think there is a solution. You'll just have to use the keyboard.
    100th Post!
    thanks

  • Samson Softpre applet doesn't work under Leopard

    I am a podcaster. I bought the Samson C01U microphone last year as I was told at that time it was the best in the entry-level for someone that was considering podcasting. There's an applet that is offered by Samson that allows Input Level Meter, Volume control, High-pass filter and Phase Switch. Every recording sounded great when I combine this applet with GarageBand.
    Recently, I switched to Leopard and the applet doesn't work anywore. Worse, recording audio with that mic gives me radically inferior quality. When I asked Samson about that matter, the support tech guy told me that there was no intention on porting this software on the new operating system, with the following: "The Soft Pre applet is merely a volume control. There is no difference in sound with or without the Soft Pre. All Samson USB mics were designed to be fully operational without the Soft Pre applet."
    I've googled the matter several times with no one else noticing the matter but myself. Christoph Drösser on a previous discussion told me that he had no such problem, but the difference between his setup and mine is that he upgraded to Leopard while mine was a fresh install. Anyone else in a similar situation?
    Message was edited by: Laurent LaSalle

    Hi,
    I had the same problem. I use an external monitor. It seems that the Applet simply disappeared after using my monitor.
    I opened Samson SoftPre, turned on my external monitor! Eureka. Here is my Applet. I moved it in the middle of my desktop to make sure it would not hide again. Once, you get it back make sure to either close the Applet before quitting the external monitor.

  • Nm-applet doesn't work

    Hello.
    When I boot my computer and start up Fluxbox, nm-applet doesn't show up in the tray area. It's running, but doesn't show up and doesn't connect me automatically (which it was set to do last time I saw it). If I try to kill it and start it manually via the terminal, I get this:
    [jmy@x110 ~]$ nm-applet --sm-disable
    ** (nm-applet:1549): WARNING **: get_all_cb: couldn't retrieve system settings properties: (2) The name org.freedesktop.NetworkManagerSystemSettings was not provided by any .service files.
    ** (nm-applet:1549): WARNING **: fetch_connections_done: error fetching system connections: (2) The name org.freedesktop.NetworkManagerSystemSettings was not provided by any .service files.
    Now, most people with this problem seem to have their rc.conf daemons set up wrong, but I'm fairly certain this should work:
    DAEMONS=(syslog-ng !network !netfs dbus hal networkmanager crond sensors alsa)
    What am I missing here? I don't want to have to connect manually every time I start up my computer.

    I still have this problem. Can anyone help me?
    If it's to any help, it works just fine when I run xfce4 (except it doesn't show in the tray, but w/e) instead of fluxbox, for some reason, so I guess there's something that needs to run which doesn't in fluxbox. But I dunno
    EDIT: nvm. Got it working. I was using this fix: https://bbs.archlinux.org/viewtopic.php?id=63576 while trying the ck-launch-session stuff mentioned above and in other threads. Restored the original configuration files, and voila!
    Last edited by Beefive (2010-08-03 01:29:16)

  • The image came up on my screen saying that I need to connect my iPod to iTunes, but I have a passcode, so it won't allow me to. And I want to try and turn it off, but my touch screen doesn't seem to be working either. HELP!

    The image came up on my screen saying that I need to connect my iPod to iTunes, but I have a passcode, so it won't allow me to. And I want to try and turn it off, but my touch screen doesn't seem to be working either, so I can't even turn it off since you need to "slide to power off." HELP! I'm leaving on Thursday morning for six and a half weeks, and I absolutely need my iPod with me. I was just at the Apple store today for problems I was having with ANOTHER product, and I don't really want to drive all the way out to where my nearest store is (which is not very near) if I can figure this out at home. My iPod was working totally fine earlier today and last night, so I don't know what happened! Please, please, PLEASE HELP!

    Now it's allowing me to reboot (hold down power button and home button and restart), but every time it just comes up to the same thing: the connect to iTunes page. Which is not possible. And I refuse to restore my iPod. PLEASE HELP.

  • Why Doesn't the XIRR function work?

    In Excel if you have 5 records from a1:b5 then XIRR looks like this:
    XIRR(A1:A5, B1:B5) you get a nice neat answer like .35
    Here is a version that works in Crystal that would require manual entry of any new quarters numbers and dates-- and if you plug this into Crystal it works:
    (XIRR([1000000,-100000,-100000,-100000,-100000,10277.49,-100000], [DateValue(1999,2,1),DateValue(1999,3,1),DateValue(1999,6,1), DateValue(1999,12,1),DateValue(2000,3,1),DateValue(2000,6,1),DateValue(2000,9,1)]))*.100
    You do get a nice answer of something like .035.  But this is all done manually and I need it to function automatically when the report is refreshed.
    So you have a range for the currency and a range for the date fields. I need to simulate this in crystal. Crystal has an XIRR function, and with the arrays, I should be able to fill in the range, but am having difficulty getting it to work.
    After building the arrays, I made another formula to combine the arrays in the XIRR formula.
    I am down to this error now after getting this formula this far  --
    "Numerical method did not converge; try another value for guess."
    Here's where I am with the formula, although they don't want to use the guess part of the XIRR function - they just want to use the XIRR(number/currency, date).  Maybe you could pass this on too?:
    /{@Reset} for the group header (NOT using a repeated group header):
    whileprintingrecords;
    numbervar array x := 0;
    datevar array y := date(0,0,0);
    numbervar i := 0;
    numbervar j := 0;
    //{@accum} for the detail section:
    whileprintingrecords;
    numbervar array x;
    datevar array y;
    numbervar i := i + 1;
    numbervar j := count({table.groupfield},{table.groupfield});
    if i <= j then (
    redim preserve x[j];
    redim preserve y[j];
    x<i> := tonumber({table.currency});
    y<i> := datevalue({table.datetime})
    //{@xirr calc} to be placed in the group footer:
    whileprintingrecords;
    numbervar array x;
    datevar array y;
    xirr(x,y)
    The array works correctly.  So why do I get that error and why doesn't the XIRR formula work like they say it should?  Has anyone used this successfully in Crystal--maybe you could shed some light?
    Thanks!

    Hi,
    I am receiving that same error when the last item in the array is 0, otherwise all works perfectly.
    When I run the same group of numbers and dates in Excel it returns without issue.
    -265500.00,-690000.00,-570000.00,16814.25,-855000.00,-619500.00,55293.46,30411.40,15183.76,  0.00
    01-25-2007,03-06-2007,05-02-2007,06-29-2007,08-01-2007,08-24-2007,09-17-2007,03-14-2008,05-28-2008,03-31-2010
    =XIRR(A2:J2,A1:J1,-0.1)
    Is there a known bug in Crystal's XIRR function when the last value is 0? 
    Or a hot-fix that will repair this?
    Thanks in advance,
    Gary
    PS. I am using Crystal XI Product Version: 11.0.0.2495

  • Hi, can someone please tell me why the spell check in pages doesn't work. I went to preferences and enabled this auto spell checker and have set the language to british english. But still it doesn't work while it works perfectly in TextEdit.

    Hi, can someone please tell me why the spell check in pages doesn't work. I went to preferences and enabled this auto spell checker and have set the language to british english. But still it doesn't work while it works perfectly in TextEdit.

    Inspector > Text > More > Language
    Only applies to selected text, like making it a particular font.
    It is not a setting that sticks. If you continue to paste in text from elsewhere particularly the Internet it will have a different or None language set to it. You need to select it and make it B.E.
    Peter

  • TS1363 i have a new iphone 5 and although I had a little trouble downloading all my apps and music, i did this successfully but now when I connect to my itunes, itunes doesn't see it and also bluetooth doesn't seem to be working.Can  Anyone help

    I have a new iphone 5 and although I had a little trouble downloading all my apps and music, I did this successfully but now when I connect to my itunes, itunes doesn't see it and also bluetooth doesn't seem to be working.Can  Anyone help?

    Hey leafxxx,
    Thanks for the question, and welcome to Apple Support Communities.
    The following resource provides troubleshooting steps if your iPhone is not displayed in iTunes when connected:
    Apple - Support - iPhone - iTunes Troubleshooting Assistant
    http://www.apple.com/support/iphone/assistant/itunes/
    For more detailed instructions, see this article:
    iOS: Device not recognized in iTunes for Windows
    http://support.apple.com/kb/TS1538
    Enjoy your new iPhone 5!
    Matt M.

  • Why doesn't two-finger scrolling work for me with Yosemite?

    MacBook Pro from 2010, upgraded to Yosemite and now none of my two-finger scrolling works with the Trackpad. Doesn't work on any application - Chrome, Safari, Word, anything. It's super annoying. Tried messing around with Trackpad options in system preferences, didn't help.

    Hi thekidcanada,
    Welcome to the Apple Support Communities!
    I understand that this type of situation can be very frustrating. One troubleshooting step I would recommend would be to reset the PRAM on your computer. I know the article is written for Mavericks but the steps will be the same for Yosemite. 
    OS X Mavericks: Reset your computer’s PRAM
    Cheers,
    Joe

  • Why doesn,t  my mail iccon work?

    Why doesn't my mail icon work?

    If you moved Mail out of the Applications folder, then applied the security update, Mail has been disabled.
    It must stay protected in the Applications folder, or you risk the possibility that malware might change it and use it to send spam.
    Mac OS X v10.6: "You can't use this version of Mail…" alert after installing Security Update 2012-004

  • Why doesn't the "back" button work all the time in Safari?

    Why doesn't the "back" button work all the time in Safari?

    thanks for the reply. You prompted me to check and I realised it wasn't installed on my test laptop and opening in Microsoft Reader. I've installed it now and it works.
    My next challenge is to prevent the mailto: command opening Microsoft Mail instead of Outlook, but I guess every user will have a different default.
    Thank you

  • After copying a movie to the harddisk of my MacBook I wanted to also copy it to my iPad, but for this you first have to copy it to the library in iTunes, but this doesn't seem to be working. So how can I get this movie to the library ? And to the iPad ?

    After copying a movie to the harddisk of my MacBook I wanted to also copy it to my iPad, but for this you first have to copy it to the library in iTunes, but this doesn't seem to be working. So how can I get this movie to the library ? And to the iPad ?

    How is it not working?  And how are you doing it?  Drag the movie onto the iTunes icon on the Dock...  what happens?

Maybe you are looking for

  • How to reverse F.19 GRIR regrouping

    Dear Experts,      We already finished F.19 GRIR regrouping, but later our user do the GRIR again, so we need to do the GRIR regouping again. So can anybody help me on this? How to reverse the original posting done by F.19?      Thanks! Cindy

  • Ora-604

    Hi,     While installing SAP 4.7 with Ext 2SR1,during the time of data loads an error occured with the following message. "ORA-604 occured when executing SQL statement.(Parse error offset=20) failed to read short nametab of table=FINK Error:  code pa

  • Playing files over a network - choppy & stuttering playback

    I have all my movies on a Maxtor external hard drive connected to my iMac. This is shared out over AFP so my powerbook can see all the files. I can play mp3s no problem, but if I play any AVI files in Quicktime, the playback is extremely choppy. When

  • ActionScript 2.0 to be able to embed URL into SWF file?

    Hello, It seems that the web based newspaper who is going to publish my ad banner doesn't have flash player 10 (or 9). My ad banner was made in Flash CS4 / ActionScript 3.0. Instead I now have to change the code in my invisible button to ActionScript

  • Breaking News!

    (Teaser) Big, day-long, Microsoft Windows 10 Event coming in & from Redmond, January 21, 2015!  Live streaming will be available. Cheers, Drew Drew MS Partner / MS Beta Tester / Pres. Computer Issues Pres. Computer Issues www.drewsci.com