Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem: "Can't find resource for bundle..."

 
Viktor Jankovic
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,
I've been trying to get and applet to run with the appletviewer but if I try to do it I get the following message:
Exception in thread "main" java.util.MissingResourceException: Can't find resource for bundle sun.applet.resources.MsgAppletViewer, key appletpanel.badattribute.exception
at java.util.ResourceBundle.getObject(ResourceBundle.java:314)
at java.util.ResourceBundle.getString(ResourceBundle.java:274)
at sun.applet.AppletMessageHandler.getMessage(AppletMessageHandler.java:39)
at sun.applet.AppletPanel.showAppletStatus(AppletPanel.java:755)
at sun.applet.AppletPanel.init(AppletPanel.java:190)
at sun.applet.AppletViewer.<init>(AppletViewer.java:177)
at sun.applet.StdAppletViewerFactory.createAppletViewer(AppletViewer.java:82)
at sun.applet.AppletViewer.parse(AppletViewer.java:1122)
at sun.applet.AppletViewer.parse(AppletViewer.java:1056)
at sun.applet.Main.run(Main.java:138)
at sun.applet.Main.main(Main.java:80)
Opening it in a internet explorer doesn't work either.
During the compilation I also got some warnings, I'm not sure if it has something to do with it:
MicroSim2_0.java:665: warning: handleEvent(java.awt.Event) in java.awt.Component has been deprecated
return super.handleEvent(evt);
^
MicroSim2_0.java:918: warning: action(java.awt.Event,java.lang.Object) in java.awt.Component has been deprecated
else return super.action(event, arg);
Does anybody have any idea what this is about? Mind you, I'm a complete novice to Java.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic