Applet works in all netscapes but not IE 6 -- help

I have a simple applet that works wonderfully in all versions of netscape. The plug-ins are installed. I am running under windows 98.
The settings are configured to allow Java for both sets of browsers.
What I get is a grey screen. No loading message -- nothing.
Yet under netscape is comes right up...same code.
HELP!

Thanks. Unfortunately I did do that, and it still did not work. Plus the fact, I want my viewers
to be able to SEE the applet -- which is a custom menu. They are not going to want to do this work, so it must be able to function in older versions of plug-ins.
Frustrating, but we have to consider not everyone will work in the lastest vesions of software.

Similar Messages

  • My applet works in the appletviewer but not in the navigator

    My applet works in the appletviewer but not in the navigator
    exceptions problem1 and problem2 are throwed
    this is my code
    import java.applet.*;
    import java.net.*;
    import java.io.*;
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    public class ValiderHtml extends Applet implements ActionListener {
    JButton send =new JButton("Connexion");
    JScrollPane jscrollpane= new JScrollPane();
    DefaultListModel lignes=new DefaultListModel();
    JList lstURL = new JList(lignes);
    BufferedReader reader = null;
    String ligne;
    URL url;
    URLConnection conn;
       public void init(){   
       this.setSize(900,400);
       setLayout( new GridLayout(2,1));
       jscrollpane.setBounds(new Rectangle(19,53,160,73));
       jscrollpane.getViewport().add(lstURL,null);
       send.addActionListener(this);
            this.add(send);
       this.add(jscrollpane);
        public void actionPerformed(ActionEvent evt) {
             Send();
       public void Send(){
            try {
       url=new URL("http://www.developpez.com");
       conn = url.openConnection();
       reader = new BufferedReader(new InputStreamReader(conn.getInputStream()));
    while ((ligne = reader.readLine()) != null) {
                     lignes.addElement(ligne);
        }//fin bloc try
       catch (Exception e) {
                   lignes.addElement("probleme1");     
                finally{
                   try{reader.close();}catch(Exception e){ lignes.addElement("probleme2");}
       }// fin Send
          public void paint(Graphics g) {
                super.paint(g);
    }// fin Applet

    As for tracking the source of your problem your applet sucks.
    Try e.printStackTrace() on a cought exception and check the (full) trace.
    url=new URL("http://www.developpez.com");
    Unless yor applet is on www.developpez.com this will throw an exception in an unsigned
    applet without special policies.
    Signing applets:
    http://forum.java.sun.com/thread.jsp?forum=63&thread=524815
    second post and last post for the java class file
    http://forum.java.sun.com/thread.jsp?forum=63&thread=409341
    4th post explaining how to set up your own policy with your own keystore

  • Applets work under older compilers, but not newest

    The applets I compile using the latest release of javac (with the JDK 1.4 package) work in the appletviewer but not in IE 6.0. However, if I use an older version of javac from a couple years ago (not sure the version), the applets work in IE suddenly. Is there something I need to install in IE to make it compatible with the Sun 1.4 javac compiler? Should I just reinstall the JRE? Has anyone heard of this before? Thanks!!

    You could try installing the Java 1.4 plugin.
    http://java.sun.com/getjava/

  • Applet using sockets works perfectly under Netscape but not under IE

    I have setup a java applet compiled with Sun Forte which implements a connection with a server application with sockets. The applet works perfectly on the same machine when it is loaded from netscape communicator but I receive an com.ms.security.SecurityExceptionEx security error when I am trying to connect on 127.0.0.1:7000. How can I solve this problem I have with IE. I would like to thank you on advanced.

    Hi,
    if ur applet want to open socket in IE you need to import microsoft java package which is in Microsoft SDK for Java 4.0.
    import com.ms.security.*;
    try {
    if (Class.forName("com.ms.security.PolicyEngine") != null) {
         PolicyEngine.assertPermission(PermissionID.NETIO);
    } catch (Throwable cnfe) {
                   System.err.println( cnfe.toString() );
    you have to write above code and compile the java file by using jvc.exe which in Microsoft SDK for Java 4.0.
    You can download Microsoft SDK for Java 4.0 from microsoft site.
    try & all the best
    sundaram

  • Applet using sockets works perfectly under Netscape but not under IE securi

    I have setup a java applet compiled with Sun Forte which implements a connection with a server application with sockets. The applet works perfectly on the same machine when it is loaded from netscape communicator but I receive an com.ms.security.SecurityExceptionEx security error when I am trying to connect on 127.0.0.1:7000. How can I solve this problem I have with IE. I would like to thank you on advanced.

    for ie you need a certificate that tells ie the applet if safe and allowed to open system-resources.
    take a look on the Forum: Signed Applets.
    regards

  • Applet work with JRE 7_51 but NOT with JRE 7_45

    Hello,
    My major problem is, that my Applet signed with COMODO certificate DOES NOT WORK with JRE 7_45.
    The SAME applet works fine with JRE 7_45, if I sign this applet WITH A SELFMADE UNTRUSTED certificate.
    WHY the comodo signed applet doesn't run in JRE 7_45 ???
    If i launch the comodo signed applet with JRE 7_51 it works perfect !!!
    But in our company we got JRE 7_45 and I have to deal with JRE 7_45. That’s my problem.
    Could you please tell me a solution what I have to do that the comodo signed applet works also in JRE 7_45.
    Thank you!
    Philipp

    Thanks gimbal2.
    I agree the problem may be in the proxy or in the firewall but I don' to know how to prove it as if i call the servlet url from browser I dont have problems .
    The version im using is 6.45 but im sure the same problem occurs also with other versions of JRE6 .
    ... and the problem disappear with JRE7 ...
    trouble is my company want people to use JRE6
    any idea ?
    Gio

  • Applet Working in MS-DOS, but Not in my Browser

    Hello!
    The applet builds a String that is displayed in the MS-DOS
    console window; but when I use my browser, I see no Java console.
    I am using J2SDK1.4.0_02. Do I need something else for my applet
    to work properly in my browser?
    Please, help. Thanks.
    Alex

    There's 2 ways to fix this.
    Assuming you're using an up-to-date version of Internet Explorer and Sun's VM, you need to go to Start--> Settings--> Control Panel-->
    and double-click Java Plug-in 1.4.0.
    Click Browser and make sure that the Microsoft Internet Explorer box
    is checked.
    This will use Sun's Java Plug-in all the time which may not be what you
    want (as this can break other stuff).
    The other way to fix it is to add some tags to the HTML file (which may also fix the problem if you are using Microsoft's VM).
    Use "OBJECT" instead of "APPLET".
    And make sure you have the following tags defined: "CLASSID", "CODE", and "TYPE". Your value for CLASSID could be different.
    Something like:
    <HTML>
    <HEAD>
    <TITLE>Jumbo's First Class</TITLE>
    </HEAD>
    <BODY>
    <H1>Brenda Pads Her Keys</H1>
    "Drat!" exclaimed Jumbo. "This stupid machine."<BR>
    Brenda rolled her eyes, as if to say "What now?" and inquired
    in her most soothing, customer-service voice, "Problem, J.G.?"<P>
    Jumbo, perhaps a tad unresonably, bit back. "I don;t have a problem.
    It's this moronic prototype. Why does it let me type in letters if all
    it can use is numbers? Who designed this anyhow?"<BR>
    Brenda, stifling her impulse to reply, "You did," reached over Jumbo's shoulder and pressed a key on his keyboard. "I know just what you need," she said. "Look at this."
    <HR>
    <OBJECT CLASSID = "clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" HEIGHT=150 WIDTH=200>
    <PARAM NAME = CODE VALUE = keypad1.class>
    <PARAM NAME = TYPE VALUE = "application/x-java-applet;version=1.2;>
    </OBJECT>
    </BODY>
    </HTML>

  • Applet works in MS JVM but not in JDK1.4 !

    Running IE 6 SP1 with windows 2000. Everything works well until
    I installed JDK 1.4 recently.
    I have an ancient (JDK 1.1?) applet that refuses to work with JDK 1.4
    But when i disable JDK 1.4 under internet options , it works!
    This is the error
    "java.lang.NoClassDefFoundError; Symantec/tools/awt/multiList"
    If the class is really missing, why was it able to work without JDK 1.4?
    Also note, that Symantec.jar is on the local machine and not on the server. Symantec.jar is a selected compilation of Visual Cafe classes
    that the applet needed.

    It will be better to have Symantec.jar on the server at the same level with your caller applet package. For example
    + Some folder
    |
    + --- yor applet package
    |
    + --- Symantec.jar

  • Applet works under 1.4, but not with 1.3

    i have a correct signed applet, which works with java 1.4.2 plug-in (means, the security dialog comes up, the user hits yes and the applet runs and can read/write files on local disk etc.)
    a fresh installation of win2k with java 1.3.1_11 does not accept the certification at all.
    it shows a FilePersmission while reading the .jar file itself.
    the jar is on the local hard disk and is being access via a local html file. (no webserver at all in the moment)
    is it possible that 1.3.1 does not check for certificates on local jar files or something?

    Try it with a webserver and see if it works. I am having a problem getting an applet to work locally under certain versions of the plugin.

  • JavaMail applet working on local machine - but NOT on my webpage

    Hi.
    My code works on my machine as an applet run through my Eclipse IDE.
    I have the Applet deployed on my website, which is the same server as the email server itself.
    public void postMail(String to, String subject,
                                String message , String from) throws MessagingException
        boolean debug = false;
         //Set the host smtp address
         Properties props = new Properties();
         props.put("mail.smtp.host", "mail.completemusician.net");
         props.put("mail.smtp.port", "2626");
         props.put("mail.smtp.auth", "true");
        Authenticator auth = new SMTPAuthenticator();
        Session session = Session.getDefaultInstance(props, auth);
        session.setDebug(debug);
        // create a message
        Message msg = new MimeMessage(session);
        // set the from and to address
        InternetAddress addressFrom = new InternetAddress(from);
        msg.setFrom(addressFrom);
        InternetAddress addressTo = new InternetAddress(to);
        msg.setRecipient(Message.RecipientType.TO, addressTo);
        // Setting the Subject and Content Type
        msg.setSubject(subject);
        msg.setContent(message, "text/plain");
        Transport.send(msg);
    }1) I know my code works on my local machine - so it's not related to a code bug.
    2) I know that all class files are uploaded correctly and working in a single JAR file. The other 3 classes I use work fine in this applet.
    3) I receive no errors of any kind - it just appears that my constructor may not be called, or the instant java mail API is mentioned, the applet just refuses to work.
    v.setMessage("Attempting to send..");This line never is used in my class constructor - which is troubling.
    public SendMailUsingAuthentication(String from, String to, String subject,
              String text, ValidationDialog vd) {
           v = vd;
           v.setMessage("Attempting to send..");
           boolean succeed = true;
           try {
              postMail(to, subject, text, from);
         } catch (Exception e) {
              // TODO Auto-generated catch block
              v.setMessage("Email delivery has failed. " +
                         "Please check your email address provided and try again." +
                         "\n\n" + e.getMessage());
              e.printStackTrace();
              succeed = false;
         if(succeed)
               v.setMessage("Your request has been submitted successfully.\n\n" +
                         "You may safely navigate away from this page.");
               v.setBlue();
         // TODO Auto-generated constructor stub
    }Feel free to reply - I would appreciate your help. Just keep in mind:
    1) Don't tell me to use javascript. I refuse.
    2) Don't tell me I need a server application. It's supposed to work according to documentation, without it.

    Is your applet signed properly? Note that you have to sign all the jars for the applet -- including the JavaMail jar and the activation jar -- using the same signer.

  • My home share is not working i have tried everything it works on one computer but not the other help!

    I have tried uninstalling and reinstalling itunes i have tried messing with my avast and I cant get anything to work please help me! it works on another computer in the house but everytime i try to click on his library it says it loading his library and then stops and goes to my music. plz help!

    When normally powering the phone, there would not be a loading bar, you would just see the Apple logo. You can try a reset of the phone, hold the sleep/wake and home buttons together until you see the Apple logo and then release. The phone will reboot.
    You can take the phone to Apple, by making an appointment at the Genius Bar to have the hardware checked. Apple handles warranty and post-warranty issues, not Verizon. Have Apple look at the hardware to see if there are any problems.

  • Applet works in Netscape but not IE

    Very basic Hello World applet. IT doesn't work in IE 6. Not sure why.
    html source:
    <html>
    <body>
    <applet code="test.class" Width=640 Height=480></applet>
    </body>
    </html>
    Anyone know why?

    I do have java runtime installed. I used java SDK 1.4.1. What runtime do I need installed for applets made with this version of java? I have the 1.4.1 runtime installed. It doesn't make sense to me that it would work in Netscape but not Internet Explorer. Any help would be great. Thax

  • Rollovers work in Netscape but not IE?

    I have the rolloverbuttons working great with Netscape but when I run my app in IE the images aren't showing up. The jar is loading fine and when I use the default rollovers ( [ROLLOVER]exit ) they work fine, but my images aren't showing up. Thanks for any and all help.
    Jeremy.

    Hytrical wrote:
    The site www.lamps-on-line.com has rollovers and actions created a few years ago in GoLive and now these effects only work in Firefox, but not in Interenet Explorer (IE7) which displays page errors.
    I didn't see any errors when I looked at yourhome page in IE7 (on Vista). So which page elements were producing an error and what was the error you were seeing? Did you delete the cache in IE7 to check whether it was a caching problem? Tools > Internet Options > Browsing history (choose to delete)?
    John

  • LR 5.6 on Mac desktop all of a sudden will not read any card from any reader but will work on my laptop. I can work on previous images but not import new ones. Even if I create a catalog on laptop and import to my desktop on a thumb drive, the images are

    LR 5.6 on Mac desktop all of a sudden will not read any card from any reader but will work on my laptop. I can work on previous images but not import new ones. Even if I create a catalog on laptop and import to my desktop on a thumb drive, the images are only accessible as long as the thumb drive is inserted.

    Sounds like you may need to repair the Disk Permissions on your drive where your images are stored.

  • Is there a way to separate raw files from jpegs that are in one folder after downloading from camera when you shoot both together. I tried arrange or sort  by kind but that does not work. It arranges all folders but not the files in the folder., Is there

    Is there a way to separate raw files from jpegs that are in one folder after downloading from camera when you shoot both together. I tried arrange or sort  by kind but that does not work. It arranges all folders but not the files in the folder., Is there a way to separate raw files from jpegs that are in one folder after downloading from camera when you shoot both together. I tried arrange or sort  by kind but that does not work. It arranges all folders but not the files in the folder.

    Bridge will do the job. View > Sort > ByType. Then you can choose a group of one type and put the files in a separate folder.

Maybe you are looking for

  • G_G_IDOC_REC_ZZINCOT function module not found in ECC 5.0

    i am getting the dump. the fuction module is not presend in ECC 5.0 Runtime Errors         CALL_FUNCTION_NOT_FOUND                                                      Exceptn                CX_SY_DYN_CALL_ILLEGAL_FUNC                                

  • Cant get "rdcmndGotoSlide" to work in CP4 but it works in CP3, why is that?

    Hello! We have this project where we`re doing some tutorial for this CMS with Adobe Captivate. I`m developing a custom videoplayer for controlling Captivate SWFs. I`ve been trying to do these buttons which user can use for jumping forward and backwar

  • HT4557 I cannot get home sharing to work - have checked passwords

    I am trying to set up homesharing and cannot get it to work.  I have set it up on ipad and my computer in itunes.  But shared does not come up under itunes and when I try to connect on ipad it says cannot connect to home sharing.

  • Installing Yosemite failed om 2012 Mac PRO

    I have tried to install Yosemite on my Mac PRO (OS X 10.9.5) It looked good in the beginning but turned out to be a total disaster. I couldn't start my computer again. I tried it again but it failed again! Now I put OSX 10.9.5 back on again and lucki

  • Error in deploying war

    Dear all, When we are deploying a war file in Soa 10.1.3.4 . we are getting the following error : Exception Creating EntityManagerFactory using PersistenceProvider class oracle.toplink.essentials.PersistenceProvider Did any one faced this error befor