• 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
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • salvin francis
  • fred rosenberger

applet plugin

Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a standalone application which draw a uml class from xml file. I am converting this application to a applet. The original application is written in java using JGraphFrame and other swing components. I just put everything originally in the constructor in init() function in Applet. and the new class extends JApplet. The compilation is fine. but when I use appletviewer to look at the applet, the appletviewer just exit. When I use appletviewer -debug option, here is the output:
run sun.applet.Main MainFrameApplet.java
Set uncaught java.lang.Throwable
Set deferred uncaught java.lang.Throwable
VM Started:
The application exited
Any ideas about this issue?
Sheng Yang
Posts: 9099
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You could try to put everything in the init method into a try/catch block to see what the exception is that is being thrown?

What does this have to do with the plug-in? It seems that your question is about appletviewer.
What are you saying? I thought you said that Santa gave you that. And this tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
    Bookmark Topic Watch Topic
  • New Topic