Problem viewing applet in a browser

Hi guys,
i'm facing a basic problem in viewing an applet in a browser say
IE or netscape. beside adding the applet tag to the html file that i want to browse ;is there any other operation to perform on browsers or the Applet in order to view it ?
i would be very grateful if you help me fix this!
thanks indeed
othman

- Is there a plugin installed on the client machine
- Is the browser java enabled
- What tags are you using .. show your html code
- Are you aware of the security restrictions of the applet and its sandbox
- Are you able to view the console. What exceptions do you see if any.. show your exceptions
- What version of IE or Netscape are you testing with
- What OS are you using, what jvm version..
- Is the plugin set to be used with IE and Netscape in the Plugin control panel
- Is your applet code in the same directory as your html file. Does your codebase attribute reflect this.

Similar Messages

  • Viewing Applets in a Browser

    My instructor does not seem to speak English very well, so we have been unable to resolve this problem.... When I create an HTML page for my applets, I get a big grey box and
    "load: class ClassName not found"
    in the status bar. The instructor said I need the latest version of IE, so I downloaded it, but it hasn't worked. I also set my security permissions lower for Java, but nothing seems to help. He can see the applets on his computer (a Mac) but I can't make it work on mine, or on any of the campus computers, on IE or Netscape. Any suggestions?

    Actually... the new Netscape 7.0 (to my surprise) is
    better than Opera. http://home.netscape.com/
    Interesting: It always amazed me that NScp had a quite decent browser in vs 3.0 and 4.0 and seemed to completely cock it up sbsqntly. It's good to know they may be back on track.
    Actually, when I had Nscp + IE for http services (as oppsd 2 having them 4 testing apps) - they seemed to freeze + hang n I put it down to some malicious code form 1 or both parties - hence my loyalty to Opera, which has never let me down.
    Has anyone else expncd similar?

  • Problem viewing applets in IE xp

    Whenever I need to view an applet in my internet explorer, version6, xpclient, I have to download Java Virtual Machine despite the fact that I already have it installed on my computer!! Sometimes it even fails to download. Would you please tell me why?

    Seems like the JVM is not set to use IE. Check the JVM settings in Control Panel and under the Browser tab, ensure that Microsoft Internet Explorer is checked. Then apply the changes.
    If this is not the case, then maybe it's the security settings on your browser.

  • Problem viewing pdf files when browsing

    Help!  Ever since downloading the lates Adobe and purchasing it, I can't view a pdf file at all from any site without first saving it somewhere.  If I just click on it, it won't open -- it makes me save it to a file first.  That never happened before.  After I download it and save it, then I can view it.  Is there a setting I need to change or something?  Thanks...

    Hi Randy,
    Try this:
    - Quit Safari completely (Safari menu > Quit)
    - Launch the Terminal application (Applications > Utilities > Terminal)
    - Enter the following command and then press return:
    defaults write com.apple.Safari WebKitOmitPDFSupport -bool NO
    - Close the Terminal window
    - Restart Safari
    - Try another PDF file and see if they now open in Safari.

  • Viewing Applets from IE

    Hi,
    i am having problems viewing applets from my IE. i have enabled java in the settings, but still i am not able to see applets in IE. so, any one know about this? please give me some suggestions.
    thank you.

    Is there any message in the status-bar of the browser ?
    If it is 'applet xxx notinited' or 'Class xxx not found' and you are sure that you have the applet in
    the right directory as specified in the applet/object tag, then you might be interested in this thread:
    http://forum.java.sun.com/thread.jsp?forum=37&thread=256639
    HM

  • Winows xp x64 JRE 6u1 - no applets in Mozilla browser

    Hi,
    i tried to find similar posts but didnt find any. Im using Windows XP (pro) SP2 x64 on a AMD64 processor, and im having problems running applets in my browser (Mozilla 2.0.0.4). I've downloaded the newest JRE 6u1 available on the homepage, and also tried to download applet "plugins" thru Mozilla, but everytime i open a site with a java applet i get this error:
    java.lang.NullPointerException
         at com.sun.deploy.net.proxy.DynamicProxyManager.getProxyInfo(Unknown Source)
         at com.sun.deploy.net.proxy.DeployProxySelector.select(Unknown Source)
         at java.net.SocksSocketImpl.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at java.net.Socket.<init>(Unknown Source)
         at java.net.Socket.<init>(Unknown Source)
         at com.sun.deploy.si.SingleInstanceManager.connectToServer(Unknown Source)
         at com.sun.deploy.ui.AboutDialog.shouldStartNewInstance(Unknown Source)
         at com.sun.deploy.ui.UIFactory.internalShowAboutJavaDialog(Unknown Source)
         at com.sun.deploy.ui.UIFactory.access$100(Unknown Source)
         at com.sun.deploy.ui.UIFactory$11.run(Unknown Source)
         at java.awt.event.InvocationEvent.dispatch(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    Since im not familiar to Java compailing and programming i dont know what this means.
    Im thankfull for any suggestion fixin this error.

    I think this is because of sandbox for web applications - see http://download.oracle.com/javafx/2.0/deployment/deploy_overview.htm#CEGJGHDA to understand the restrictions.
    You need to sign your application and make sure JNLP requests all permissions.
    Good news it is easy in Netbeans - just open project properties and select that application need elevated permissions.
    Bad news is that official beta of 7.0.1 used experimental signing support that had bug for jars loaded from file protocol.
    You may want to download latest NB 7.0.1 build (and recreate your project) or customize build.xml to sing jar file explicitly using standard ant signjar task.
    Or you can always run your tests using http protocol to access the application.

  • Problem with Css styles not showing in live view or when i browse

    I am using Mac osx 10.6 and building website with Dreamweaver CS5.  Sometimes div tags i create not showing styles or rendering in live view or when I browse but  showing in design view. I looked in dreamwever faq and they talk about not showing in design view to toggle the display styles. That is not the problem becuase it is check marked and I tried turning off and turning on and made no difference.I am using firefox browser.
    It happened before the other day too. But all of my other pages in this site that i have created the same way building with div tags and css styles. So not sure what the problem is. Maybe someone has a suggestion here.
    Johanna

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Portfolio</title>
    <style type="text/css"></style>
    <link href="css/jbstyles.css" rel="stylesheet" type="text/css" />
    <style type="text/css"></style>
    </head>
    <body>
    <div id="wrapper">
      <div id="mainnav">
        <div id="navbar">
          <ul>
            <li><a href="index.html"><br />
            </a></li>
    <li>
              <ul>
                <li><a href="index.html">          Home</a><a href="about.html">About</a></li>
                <li><a href="portfolio.html">Portfolio</a><a href="contact.html">Contact</a></li>
              </ul>
            </li>
          </ul>
      </div>
        <div id="contentinside">
          <div id="navbar2">
            <ul>
              <li><a href="design.html">Design</a></li>
              <li><a href="multimedia.html">Multimedia</a></li>
              <li><a href="webdesign.html">Web Design</a></li>
            </ul>
          </div>
          <div id="mm1thumb">Content for  id "mm1thumb" Goes Here</div>
          <div id="mm2thumb">Content for  id "mm2thumb" Goes Here</div>
        </div>
        <img src="images/multimsidebar.gif" width="212" height="615" alt="mmsdbr" longdesc="http://multimsidebar" />
      <div id="footer">
        <p> </p>
        <p>Johanna Bresnahan</p>
        <p>Web &amp; Graphic Design - http://www.johannabresnahan.com</p>
        <p> email: [email protected] ....phone....857•991•5717<br />
      </p>
    </div>
    </div>
    <!--end wrapper--></div>
    </body>
    </html> 
    Here is the html code above. not sure how to attach my file so get a visual. This is the first time I have used this forum.
    Johanna

  • Problem in loading applet in HotJava browser

    I am having a problem in loading a simple applet in HotJava
    browser
    The code of the applet is shown below
    import java.awt.*;
    import java.applet.*;
    public class HelloJava extends Applet
    public void paint(Graphics g)
    g.drawString("Hello Java", 10, 100);
    The code of the HTML file HelloJava.html is shown below :
    <HTML>
    <! This page includes a welcome title in the title bar and also
    displays a welcome message. Then it specifies the applet to
    be loaded and executed.
    >
    <HEAD>
    <TITLE>
    Welcome to Java Applets
    </TITLE>
    </HEAD>
    <BODY>
    <CENTER>
    <H1> Welcome to the World of Applets </H1>
    </CENTER>
    <BR>
    <CENTER>
    <APPLET
    CODE = HelloJava.class
    WIDTH = 400
    HEIGHT = 200 >
    </APPLET>
    </CENTER>
    </BODY>
    </HTML>
    ON opening the HTML file in HotJava Browser, the following error comes up :
    HelloJava: class not loaded: file:/D:/Poonam/Java/Src1/HelloJava.class:
    java.lang.ClassNotFoundException: HelloJava: class not loaded: file:/D:/Poonam/Java/Src1/HelloJava.class

    Well the obvious question is what is utilities.PropertyManager up to at line 23? It appears to be trying to get the system classloader which applets aren't allowed to do.
    You should probably be using the ClassLoader from the class in question.

  • Im having problems with my safari Web browser  to opening/viewing pdf files.

    Im having problems with my safari Web browser to opening/viewing pdf files. I installed the 8.1.2 version But then when I click to open any PDF it says that Adobe PDF Viewer cannot find a compatible Adobe Acrobat or Adobe Reader to view this PDF. Please select one.
    i can see the adobe reader but can not select it .

    did you find a solution to this? my safari history is full of
    explicit sites that i have not visited. i see a lot of info on how to remove it, but none on how to figure out how they got there.

  • Use WebEngine to view applet demo of JDK problem

    When I used webEngine to view applet demo of JDK like this:
    WebEngine webEngine = new WebEngine("file:///C:/Program Files/Java/jdk1.6.0_25/demo/applets/BarChart");
    I got message on the page inside JavaFX like this:
    alt="Your browser understands the <APPLET> tag but isn't running the applet, for some reason." Your browser is completely ignoring the <APPLET> tag!
    So, my question is how can I embed applet in webEngine or can webEngine embed applet?
    Thank you very much!

    There are a few known bugs related to webengine:
    • Issue RT-12439: WebView can not be gc-ed (garbage-collected).
    Description: Memory leak causes the application to crash with an out-of-memory error on web sites that have a lot of content, running scripts, and automatic updates.
    Workaround: To be able to reclaim the WebEngine object, call the webView.setEngine(null) method.
    • Issue RT-12440: WebView is updated even when it is invisible.
    Description: Performance is impacted.
    Workaround: Include a call to the webView.setEngine(null) method in your application.
    For more info take a look at http://download.oracle.com/javafx/2.0/release_notes/jfxpub-release_notes.htm

  • I cannot view my site in browser or publish my site after 2014.3 update

    Hi,
    I updated to 2014.3 and cannot view my site in browser or publish. I see that alot of other people are having issues. Can you please assist. This is very frustrating.
    I am using OS X Yosemite 10.10.2.
    Thank you
    Brett

    Hi Sanjit,
    I cannot even publish the site. Muse crashes when I try to view site in browser and it crashes when I try to publish the site. It is not the browsers - yes I have tried. It has only happened since I updated to 2014.3 - just like everyone else having problems. This is a problem with the update. I can make a new site in the new release and it works - however all existing sites built before 2014.3 release is no good. This a big problem that needs sorting out. I should not have to rebuild everything again. I have sent my muse file via dropbox, as I have seen other people having trouble being asked to send the file through and it will be looked at. The url is http://australiasnaturecoast.businesscatalyst.com/ . This is not the correct version as I made a new site in the new muse update. I need my original version to work. I have tried uninstall and reinstall of Muse and this has not helped.
    Thanks

  • Could not load applet in a browser using jre 1.6.0_06

    Hi,
    I am facing problem with loading applets when the browser uses jre 1.6.0_06.
    Not able to understand what actually the problem is, I tried to check with a small applet that would simply print Hello World on the java console. Even this applet also could not be loaded on the browser. I could load this applet in the test environment of eclipse, but not able to load it on the browser when the applet is deployed on Tomcat.
    We have no problems in loading applet if the browser is using an earlier version of the jre.
    One more thing we have found out that, if we change the SSL cipher suite of the ssl.conf file such that it can support weaker protocols, my applet works with jre 1.6.0_06 also.
    But one thing we could not understand is that why changes in SSL cipher suite of the ssl.conf file creates problem in loading the applet, only in case the browser is using jre 1.6.0_06. I mean to say that changes in the SSL cipher suite does not create any problem in loading the applet if my browser is using an earlier version of jre 1.6.0_06.
    Please help me out as I don't have any clue regarding this problem.
    Thanks in advance.

    Hi,
    We have found a wor around for this problem.
    The following option has been unchecked and the applet could be loaded.
    Go to java control panel
    Under the Advanced Tab
    Under the Security section
    Uncheck the last option "Use TLSv1.0".
    This makes the applet work.
    But could not understand as why this is creating a problem.
    We have tried to include TLSv1.0 in the cipher suite of our apache server, while keeping the above option in java plugin control panel checked, but even that did not solve the problem.
    Please help me of how should I proceed for this problem, as I am totally stuck.
    Thank you.

  • Problems with framerate - only in browser

    I'm seeing an odd problem with my framerate in Flash, and I'm wondering if anyone here has seen something similar.  (Sorry if this is a duplicate post - This feels significant enough that I'm positive I'm not the first one to ask about it, but checking the search, all I was able to find were threads over 2 years old, which didn't look related.)  So here goes:
    I'm working on a fairly interactive swf, and am noticing that the framerate appears FAR more choppy when I view it in a browser window than I do if I run it through the debug environment or as a stand alone player.
    Here's my situation:
    My movie's framerate is 30 fps.
    Running it in the Dev environment, the flash player, or in a standalone player all runs fine.  Perfectly smooth.
    Running it in a web page, it looks very choppy.
    According to the MOVIE, it is running at full speed.  (I have a framerate counter in the corner, and even in a web browser, it never wavers.)
    (Here's where it gets weird) If you move the mouse over the movie.... just move it, doesn't have to click or anything....then as long as you are actually MOVING the mouse...  the framerate turns normal.  So if you're willing to sit and constantly move the mouse, it plays normally.
    So.  What does this mean?  Well, the short term answer is that my swf runs choppy unless someone sits and keeps the mouse moving at all times.  But beyond that, it looks like it means that the flash player in a browser window behaves very oddly.  the CPU can obviously keep up with my movie, since when I move the mouse around, it goes at the intended speed.  It seems like it just isn't updating as fast as it is telling Flash it is updating.  Or rather, it is letting the Flash virtual machine hum along at whatever speed it wants to think it is running at, but is only bothering to actually update the window on its own schedule, or when it receives a mouse event?
    I've uploaded a simple test file (and html page) as an attachment here.  On my machine, at least, there is a very noticable difference in how smooth the box's movement is, depending on if you are moving the mouse or not.  All of my tests are being performed under the latest version of FireFox (3.0.11) and using the latest flash player plugin.  (10,0,22,87)  The swf was built using CS4, etc.
    Does anyone have any experience with this?  Has anyone seen this before?
    Part two of my question of course is "how do I fix it?"  Is there something I can do in my html file to force the plugin to update more frequently, so that none of my precious, precious frames are lost to the user?  Better still would be if there were something I could do in my swf file to make this happen?
    Anyone know of such a thing I could do?
    Thanks

    Hi Mathonwy,
    As you probably know, the swf speed will depend on many factors: the computer's strength, what browser is being used (some take up more juice than others), what else is running at the same time, etc. It is always slower than when swfs are ran from the stand alone player.
    However, this thing you are experiencing with "moving the mouse" is indeed weird, since it should be the opposite, meaning that moving the mouse actualy takes up some juice, a tiny little bit.
    It is sad I cannot load your attachment right now (????)
    Could you also put a link?
    Design Cyboïde
    Création de sites web Montréal

  • JDK 1.4.2_10; problem with applet/classpath/OBJECT tag

    I'm supporting an applet that needs to run in JDK 1.4.2_10 in order to work. (I don't own the code, so I can't fix the issue)
    I'd like to force that particular applet to run under JDK 1.4.2_10, but allow other applets to run on the current default JVM.
    I'm trying to do this by using the JDK's htmlconverter.exe utility to force the use of JDK 1.4.2_10. That part is working as expected, but I'm experiencing a side effect.
    The problem is that, when I use the OBJECT tag instead of the APPLET tag, the browser attempts to download the class with this URL
    http://hostname.here.com/app.testing/app.testbed/classes/appls%2fDOLARS%2fuser%2fApplet%2fclass.class
    instead of this URL
    http://hostname.here.com/app.testing/app.testbed/classes/appls/DOLARS/user/Applet.class
    The second URL works; the first does not. When I use the APPLET tag, it generates the second URL and downloads the class successfully.
    I'd like to a) use the OBJECT tag. b) get it to use the correct URL to download the Applet.class file. What do I need to do to make this happen?
    Thanks,
    Tom Valesky

    Here's the exception I'm getting (slightly sanitized):
    Java Plug-in 1.4.2_10
    Using JRE version 1.4.2_10 Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\tvalesky
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    o: trigger logging
    q: hide console
    r: reload policy configuration
    s: dump system and deployment properties
    t: dump thread list
    v: dump thread stack
    x: clear classloader cache
    0-5: set trace level to
    load: class appls/DOLARS/user/Applet.class not found.
    java.lang.ClassNotFoundException: appls.DOLARS.user.Applet.class
         at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.IOException: open HTTP connection failed:http://hostname.com/DOLARS.testing/dolars.testbed/classes/appls%2fDOLARS%2fuser%2fApplet%2fclass.class
         at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 7 more
    Exception: java.lang.ClassNotFoundException: appls.DOLARS.user.Applet.class

  • Problem viewing PDF File in JSP

    Hi,
    I have the file location of a PDF saved in the database.
    If I modify the PDF file on my directory and then try to view it in my browser, it still shows the old file .. (I do not modify the pdf file name)
    However, when I close my browser and reopen it, it shows up okay. this looks like a browser level problem but can someone give me an idea on how I can solve this problem within my JSP...
    Here is some code to view the file
    <a href="<%= response.encodeURL(fileLocation) %>"><%= binderName + ".pdf" %></a>
    Thanks,
    Yasir

    The problem you are having is a browser cache issue. If you open the same URL, the browser is trying to save you time by giving you what it got last time. The trick is to make the URL different each time it is opened. Just append a hash or some other unique code:
    Instead of:
    http://myserver/pdfMakerServlet/newpdf.pdf
    Use this:
    http://myserver/pdfMakerServlet/newpdf.pdf&012345
    If the URL is different each time, the browser will ask the server again for the file.
    Does this help?

Maybe you are looking for

  • Using ufsrestore on multiple file systems

    I have a ufsdump script that allows me to backup the file systems on c0t0d0 all at once. Now I am looking for a way to restore all of these file systems at one time using a script. I would greatly appreciate any help. Cletus

  • Google talk and jabber not showing up in account list!

    hi. i am trying to set up ichat with google talk, but in the account type list, there's only AIM, mobleme, and mac.com; then there's the line and nothing else. any help on making it appear??

  • Query BI7: problem in using the variables of referenced caracteristics.

    Dear Experts, I have posted a question in "BI General" yesterday. Untill now, I haven't got any reply. So i decide to post it under this subject. And I hope somebody can help me. A query was created on the basis of an Infoset, in which there are many

  • Dynamic Interactive Form Values not updated

    Hi All,    I am having a Dynamic Interactive form. Once I have changed values and save it,then when i try opening the pdf form, the  saved changes are not displaying ,only previous data  displayed. Please suggest a solution for this Regards, Vinoth

  • Adding a song on iWeb

    Is there any what to make a song automatically play when someone comes to my page instead of having to click play?