Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Applet in browser does not work

Ranch Hand
Posts: 153
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I cannot get an Applet to work in any of my browsers (ie10, FF12, Chrome).
It only works in my Intellij IDEA 12 Ultimate IDE.
The .html and the .class files are both in the same directory, together with an unsigned .jar file that contains the .class file (I don't think that matters).

I have tried every single method I could find on the internet, including the Oracle docs.

Previously I got an Error which made the browser crash:
The program iexplore.exe version 9.0.8112.16506 stopped interacting with Windows and was closed. To see if more information about the problem is available, check the problem history in the Action Center control panel.
Process ID: 1e30
Start Time: 01ceb1783d7e2fae
Termination Time: 4293
Application Path: C:\Program Files (x86)\Internet Explorer\iexplore.exe
Report Id:

Now when I launch my applet in ie10, all I get is a blank page.

Applet code (please note that for some reason this web form ignores the underscore in my applet name and puts a blank space in there instead):

HTML: (note: I have commented out everything that did not work)

What is going on?
Posts: 25682
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As far as I can see, that HTML has everything commented out except for empty <head> and <body> elements. So that might tend to explain why you're seeing nothing when you view that HTML in a browser.

But I could be wrong -- there seems to be partial commenting out in there. So could you post some ordinary HTML (none of that commenting-out business) which we can look at?
Don't play dumb with me! But you can try this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic