Applet doesnt run in netscape

I have made an applet that runs under the applet viewer.
In netscape the button, labels, and textfields show,
but the button doesn't produce the remainder of the run,
as evidenced by no painting, like it does in the other situations.
It also runs as an application on a frame.
Where do I look for problems?
These are all of my imports:
import java.awt.TextArea;
import java.awt.TextField;
import java.awt.Label;
import java.awt.Frame;
import java.applet.Applet;
import java.awt.Toolkit;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
import java.awt.Button;
import java.awt.FlowLayout;
import java.awt.Font;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;
import java.awt.Graphics;
dewayne

My Applet is really kind of neat and on one applet panel,
and I want to share it on the browser in the classroom.
My Applets used to work with Netscape on my computer.
Thinking that I probably lost a plugin,
I read as much as I could about plugins.
But I am really lost.
It seems unfortunate that one
has to know so much about things
peripherally to what one is trying to do.
It makes programming much harder
than it used to be a few years ago.
Can someone help me with some suggestions?
Or does the lack of responses mean that others don't know?
Or are they snubbing me? I give up.
dewayne

Similar Messages

  • Signed Applet not running in netscape browser

    <OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
    WIDTH = 695 HEIGHT = 525 codebase="http://java.sun.com/products/plugin/1.3/jinstall-13-win32.cab#Version=1,3,0,0">
    <PARAM NAME = CODE VALUE = SignedAppletDemo >
    <PARAM NAME = CODEBASE VALUE = "." >
    <PARAM NAME = ARCHIVE VALUE = "SSignedApplet.jar" >
    <PARAM NAME="type" VALUE="application/x-java-applet;version=1.3">
    <PARAM NAME="scriptable" VALUE="false">
    <COMMENT>
    <EMBED type="application/x-java-applet;version=1.3" CODE = SignedAppletDemo CODEBASE = "." ARCHIVE = "SSignedApplet.jar" WIDTH = 695 HEIGHT = 525 scriptable=false pluginspage="http://java.sun.com/jpi/plugin-install.html"><NOEMBED></COMMENT>
    </NOEMBED></EMBED>
    </OBJECT>
    what i wann that when i run this code in netscape browser that it won't ask the user to download the plugin for the applet it should automatically download plz do me favour and send me solution thanks

    Hello.
    Due to firewall issues I cannot state for certain if I am having a similar behaviour to yours. It appears that Netscape( 7.1 ) attempts to resolve to plugins.netscape.com irrespective of the pluginspage attribute ( if it resolves further I cannot see it due to firewalls ). IE appears to try and autoupdate ( based on the firewall challenges ).
    You could try and provide a conditionally constructed link ( with information about the JRE failure ) to the JRE of choice between comment/embed/object elements. It is not the solution you asked for, but a potential alternative.
    Regards,
    James.

  • Debugging a BC4J applet running in Netscape

    I am trying to debug a problem that I have running an applet containing BC4J components in a Netscape browser (v4.7). When I run the applet, it aborts with an error in oracle.jbo.mom.DefinitionManager.initJNDIContext() (line 1021 in the java file).
    Where can I get the source code for classes under oracle.jbo.mom ? and, where can I get doc on initJNDIContext() ?
    Thanks,
    Murali.

    Sathish,
    Thank you for your reply.
    I am using Oracle 9i Jdeveloper Version 9.0.2.829.
    Looks like it is erroring while it is invoking CreateApplicationObject. So, it has already loaded the applet. So, I think the issue is not signing the jar file (I might be wrong!). Here is the error:
    oracle.jbo.PersistenceException: JBO-26024: An error occurred while creating InitialContext
         at oracle.jbo.mom.DefinitionManager.initJNDIContext(DefinitionManager.java:1021)
         at oracle.jbo.mom.DefinitionManager.initManager(DefinitionManager.java:127)
         at oracle.jbo.uicli.mom.JUMetaObjectManager.<init>(JUMetaObjectManager.java:50)
         at oracle.jbo.uicli.mom.JUMetaObjectManager.getJUMom(JUMetaObjectManager.java:124)
         at oracle.jbo.uicli.mom.JUMetaObjectManager.createPool(JUMetaObjectManager.java:393)
         at oracle.jbo.uicli.mom.JUMetaObjectManager.createApplicationObjec (JUMetaObjectManager.java:327)
         at mil.dfas.dcm.AppletDCM1_04.init(AppletDCM1_04.java:108)
         at mil.dfas.dcm.AppletDCM1_04.main(AppletDCM1_04.java:450)
         at mil.dfas.dcm.AppletLaunchDCM.init(AppletLaunchDCM.java:27)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    It is not the complete stack trace. But, will give an idea.
    So, the code for DefinitionManager is not shipped.. Is there any way I could get the code?
    I appreciate your help. Please let me know if you can figure out what the problem could be. By the way, it works fine with Netscape 7.0. The problem is with Netscape 4.7.
    Thanks,
    Murali.

  • Applet that run on a webbrowser like netscape

    can you please construct for me an applet that run on a webbrowser like Netscape and show me how to construct an HTML for it

    http://java.sun.com/docs/books/tutorial/getStarted/cupojava/index.html tells you how to do it, in beginner language.

  • Using an Applet to run another application

    To anyone that can help.
    Simply, can I have an applet that runs an PC application?
    More detail:
    I am relatively new to the Java Development environment, but so far have put together a reasonable intranet web application that takes user input and writes to an Oracle database. From this information, I have then invoked Microsoft Word and populated a template with information to create a document.
    All fine and good, but I am running everything under W2000 so I have server and client all in the one place. I am using Tomcat 4 as my server, the application is written using JSP and my own Beans.
    The principle of how the Word link works is: within the JSP information is written to a Bean, which creates a file and then executes a WordAPI using:
    cmd = "WordAPI.exe";
    try {
    Runtime.getRuntime().exec(cmd);
    This is OK with everything on one machine, but I now need to set it up on a server and this will not invoke Word on the client. I thought that if I turned the bean into an applet then it would run at the client end and that would resolve the problem, but it doesn't work. Am I breaking some rules or trying to do the impossible?
    Thanks for any help

    I think it boils down to a matter of security. An applet generally runs in what is known as a sandbox. Since you're talking about an intranet and you didn't say anything about Netscape browser, I'll assume that you're only interested in IE. In IE, you can start by testing to see if your application will work if you click:
    Tools-->Internet Options-->Security-->Trusted sites-->sites
    and add the intranet URL to make it a trusted site.
    If that doesn't work, you may have to sign the applet and put it in a .cab file. To do this you'll need to use the cabarc command (if you can't find the command on your system, search www.microsoft.com web site for a download). After having signed the applet, you still have to make sure that the client's IE security settings are just right for what you needed to do. For this, you'll have to look at:
    Tools-->Internet Options-->Security-->Local intranet-->Custom Levels...
    Good Luck!
    V.V.

  • Why can't I get an applet to run in the OC4J embedded server?

    i've set the class path and so on but still no dice.
    I keep getting the error message:
    load: class model.Applet1 not found.
    java.lang.ClassNotFoundException: model.Applet1
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadCode(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.IOException: open HTTP connection failed.
         at sun.applet.AppletClassLoader.getBytes(Unknown Source)
         at sun.applet.AppletClassLoader.access$100(Unknown Source)
         at sun.applet.AppletClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 10 more
    basic: Exception: java.lang.ClassNotFoundException: model.Applet1
    java.lang.ClassNotFoundException: model.Applet1
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadCode(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.IOException: open HTTP connection failed.
         at sun.applet.AppletClassLoader.getBytes(Unknown Source)
         at sun.applet.AppletClassLoader.access$100(Unknown Source)
         at sun.applet.AppletClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 10 more
    if anybody can help me I'll name my son after them
    Owen

    There's not enough info in your post to know what wrong. The stacktrace says it can't load the class model.Applet1, it's trying to get the class from the server, but it fails to get it because it cannot create a http connection.
    Try to find out where it's trying to connect to, check if that address is correct, and if the required class file can be loaded from that address.

  • Please help - trouble getting any applet to run with Mozilla or IE?

    Hello,
    I am using Mozilla Firebird and MS IE 6 under WinXP Pro. I have installed JRE 1.4.2 and ensured that java is enabled in both browsers. But no matter what I do, no applet will run, at all. No classes are loaded, I just get an empty "resource not found" box. I must have installed the JRE 4 times now, and the process seems to finish flawlessly. Any ideas? Do I have to patch my windows? I would really like to test some java on this pc!!!!!!
    Thanks.

    I am using Mozilla Firebird and MS IE 6 under WinXP
    Pro. I have installed JRE 1.4.2 and ensured that java
    is enabled in both browsers. But no matter what I do,
    no applet will run, at all. No classes are loaded, I
    just get an empty "resource not found" box. I must
    have installed the JRE 4 times now, and the process
    seems to finish flawlessly. Any ideas? Do I have to
    patch my windows? I would really like to test some
    java on this pc!!!!!!Hi,
    this combination works fine for me!
    For Firebird check the Plugins Subdir or just write "abaout:plugins" the address field and hit enter. It should show you all plugins avail in Firebird.
    Enable the java console (not JavaScript!!) in the Java(TM) Plugin settings.
    Than a window whill show you "the work" of the Java Plugin.
    Hope this helps

  • Can a thread created in an applet still run after the browser is closed?

    Dear all,
    I was able to make an applet's thread keep running even the web page changed to other page. Is it possible to make a thread spawned by an applet keep running even if the browser is close? I am using signed applet and JRE1.3.1_02. Thank for answer.
    [email protected]
    Arthur Pan

    No. A thread is part of a process and if the browser closes that process will (generally) be destroyed.

  • Variant doesnt run on the selection screen

    Hi guys, I was creating variant for jop. my progrm  has a selection screen.it contains date,name... .
    When i was create variant for jop then jop is running but my reort program doesnt run.Thank you so much

    my error is this

  • I can't get applets to run - I messed up machine

    This is not a programming question, just an "I want to see an applet" question.
    2 months ago, I downloaded the JDK 1.3.1_02 because I was/am taking a programming class. I set the path variable to the BIN. I then had 2 runtime environments 1.3.1 and 1.3.1_02 and everything was fine. Last week, however, applets wouldn't load or would load only after a very long delay (not necessarily my applets, just applets when we surfed the net). I twice received errors that my "client was corrupted."
    I have a Windows ME machine. I removed the 1.3.1 runtime environment (pre-installed on machine), thinking that, well... I was just thinking stupid thoughts. I now only have the 1.3.1_02 environment. NOW, no applets will run.
    I'm guessing I need to point something to 1.3.1_02, but don't know what that would be. I checked IE options and it thinks it's looking to 1.3.1_02. I looked at the advanced tab of the Java plug-in and it's set to default. I changed it to 1.3.1_02 and that had no effect, so I returned it to default. I have the latest version of VM.
    Should I reinstall Java and the runtime environment?
    Thanks in advance Janie

    Hi,
    I've also encountered a problem in running applets and what I did are the following:
    - Try reinstalling your Java and then restart your machine.
    - After that, Go to Start -> Settings -> Control Panel -> Java Plug-in 1.3.1_02 to open the Java
    Console Window.
    - On the Browser tab, uncheck the "Microsoft Internet Explorer" and click OK.
    - Try to open a new browser and open pages with applets and see if this works.
    Hope this can help.
    Cleo

  • Sun.applet.appletPanel.run() is invoked twice when applet is loaded.

    When I am loading my applet in the browser, sun.applet.appletPanel.run() function is invoked 2 times according to JProfiler.
    How can we solve this problem to reduce the number of calls to one???
    TIA
    Ashish

    Anyone having slightest of idea about this problem please reply....

  • I can not get Java applets to run on my MAC

    I am running OSX 10.9.1, Safari Mountain Lion 7.0.1 and have Java 7u51 and can not figure out how to get applets to run.  I am taking classes for work and they all use applets.  Any ideas how to enable applets?  Blogs have recommended using java preferences but I can't find that on my computer.

    Rivasrraa,
    since you’ve installed Java 7u51, you should have a Java pane in System Preferences. When you select it, a Java Control Panel window will appear. In the Security tab of that window, you might need to set your security level down to Medium and/or add the applet site to the Exception Site List to be able to run your applets.

  • Download  assistant  doesnt  run

    hello.i  have  downloaded  download assistant,but  doesnt  run  at  all!.first  i  ve  tried  to  run  from  my  downloads  folder,but  it  failed.after  that  ,copy  paste  to  programs  directory  ,but  the  problem  remain.i  have  win  8x64

    1)no.  i  try  to open  it  with  right  clik  and  administrator  rights,then  open instadaneously  the  ''window''  with  two  options;yes  and  no,clik  on  yes  but  doesnt  run.i dont  receive  any  error  message.
    2)CS6   MASTER  COLLECTION
    3)i  have  done  for  differents  causes  three  restores ,the  latest  2  months(or  reupgrade   from  win  7  to  win  8) ,and  this  is  happen:first  time  i  have  the  same  problem,second  time  the installation  works  perfect,and  now   the  third  time  ,show the  same  problem.some  peoples  told  me  that  the  issue  is  with  administrator  account,i  check  it  and  i  think  there  is  no  problem.should  i  check  further?and  how  can  i  do  that?(other  people  in  forum  told  me  to  make  changes  in  group  policy,but  i  dont  know how  to  do   that).i  have  download  already  from  direct  links  the  trial,but i  want  to  fix  this  issue  with  ADA.Αny  help  woyld  be  appreciaded. is  there  any  support   from  offical  adobe ?(like  customer-technical  service?) 

  • Discoverer plus (Java Applet doesnt load)

    hi
    i have a problem with discoverer when i try to use discoverer plus
    i can connect me via discoverer desktop without problems and view my business area....
    the problem occurs when i clic in the conexion link... the browser open me a new browser and it can´t load the applet of JAva
    *****the load of the applet of Java has failed*****
    ha fallado la carga del applet de Java ( in spanish)
    If i open my Java console i get the follow message:
    cargar: clase oracle.disco.DiscoApplet no encontrada.
    java.lang.ClassNotFoundException: oracle.disco.DiscoApplet
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadCode(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.IOException: open HTTP connection failed.
         at sun.applet.AppletClassLoader.getBytes(Unknown Source)
         at sun.applet.AppletClassLoader.access$100(Unknown Source)
         at sun.applet.AppletClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 10 more
    Exception in thread "Thread-4" java.lang.NullPointerException
         at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
         at sun.plugin.AppletViewer.showAppletException(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    java.lang.NullPointerException
         at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
         at sun.plugin.AppletViewer.showAppletStatus(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    How can i solve this problem? I review logs files in EM (section Discoverer but dont tell me valuable information
    Any help will be apprecciate.
    Alex

    Dear Mr. Ramirez
    I apologize, please, to speak with you in English, I would prefer to speak in Spanish or Portuguese but these forum demands the English.
    I'm facing now the same problem taht you faced on apr-2006, see:
    basic: Registered modality listener
    liveconnect: Invoking JS method: document
    liveconnect: Invoking JS method: URL
    basic: Referencing classloader: sun.plugin.ClassLoaderInfo@4cd580, refcount=1
    network: Connecting https://www.MYOCSPORTAL.com/disco/plus_files/plugin/images/download.jpg with proxy=DIRECT
    basic: Loading applet ...
    basic: Initializing applet ...
    basic: Starting applet ...
    basic: httpCompression = true
    network: Connecting https://www.MYOCSPORTAL.com/disco/plus_files/disco5i.jarjar with proxy=DIRECT
    network: Connecting https://www.MYOCSPORTAL.com/disco/plus_files/oracle/disco/DiscoApplet.class with proxy=DIRECT
    network: Connecting https://www.MYOCSPORTAL.com/disco/plus_files/oracle/disco/DiscoApplet.class with proxy=DIRECT
    load: class oracle.disco.DiscoApplet not found.
    java.lang.ClassNotFoundException: oracle.disco.DiscoApplet
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadCode(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source
    ... follows a lot of jav lines...
    I'm using a 10g platform, with discover and web forms. Also a OCS 10g platform.
    The clients are based on JRE 1.5.0_10, IE sp2, windows XP professional sp2.
    I've been working with this annoying problem for a week, and Oracle support team had spinning around the trouble without a valuable working idea.
    Certainly, you've solved this situation - I hope so!
    Please, can I count on you for any suggestion that can solve my problem?
    Thanks in advance for any reply
    Best regards
    Adilson Brites
    Message was edited by:
    user546151

  • Applet Not Running in IE. Need IE settings for running applet.

    Hi
    I am facing a problem with Applet while running in IE-6. The problem is very simple; Applet is not running in IE-6, not even a simple applet which displays just a Label.
    I am using Java Version 1.4
    Settings for IE is as follows
    Java (Sun)
    CHECKED Use Java 2 v1.4.0 for <applet>
    Microsoft VM
    CHECKED Java console enabled
    NOT CHECKED Java logging enabled
    CHECKED JIT compiler for virtual machine enabled
    The applet is running in Appletviewer and run in IE in some other machine. The problem is in my browser and Java versions.
    If I start the applet in IE it is not showing even Jave Console (which is enabled).
    In Java Plugin (Control Panel) I enabled Show Console and set MSIE checked.
    What should I do to solve such a stupid problem with my IE. I have updated my JVM and IE twice but yet to wait for solution.
    Your help is worshipfully appericated.
    with love Vijay

    I got some reasonable solution from some other forum.
    The Problem is with the VM. The JVM is crashed with MS VM.
    That is why the browser diplays class not found error.
    This is because the MS VM is not allowing the JVM to look for .class files.
    This will happen for java 1.4.x .
    If you use HTML converter (converting the applet to object) it will work.
    But the Optimal solution is compile your applet file with -target option.
    e-g
    javac target 1.1 HelloWorld.java
    It is the most efficient way to avoid such problems with IE while running the applets.
    I Thank you all for your solutions.
    with love Vija

Maybe you are looking for

  • MacBook pro using Yosemite dvd player is hanging

    With a MacBook Pro using Yosemite 10.10.1 when I try to show a DVD, the player hangs whenever I try to scan forward or backward. This happens regardless of whether I use the controls drop down menu or the buttons on the controller. The DVD Player inf

  • Adobe Acrobet Reader Latest Version

    Hi, I have one new member there, I want some advise or suggestion that i search one educational site there i want see my result and download. when i download result in pdf format some problem i see that my adobe reader do not open this pdf result fil

  • Itunes suddenly changed my library

    I woke up today to find my itunes library completely changed. I didn't connect my iphone to it over night. It opened to the page where it asks you if you want to find media files, and in the library there was only my purchased songs movies from itune

  • "air" Object undefined, using JavaScript.

    Hello, I'm using Adobe Air to extend the functionality of an existing web client (allowing access to file-system, etc). The web client is programmed in JavaScript. Because the source code of the web client is pretty big, I would like to avoid code br

  • Internal Tag Stack Error

    I have a Bible reading app from Olive Tree, I have recently installed a new bible translation and now when I open the app I receive an error - "Internal Tag Stack Error: Tag Stack too deep" The only option given is to press OK but then the error repe