CrashTV Update: Feedback Appreciated

Started by
13 comments, last by chris_j_pook 18 years, 11 months ago
Seems to run on Mac OS X, albeit slowly.
Advertisement
Where can I get the java run-time to play this.
I've installed the java runtime from google search.
I began my computer programming with java so I know how it works.

I guess the file CrashTVClient.class or CrashTVClient$1.class is the main java class.
Couldn't I just make html document to run it from, but I have forgot how the applet html code's synopsis.
something like this:
<applet code=CrashTVClient.class>

I will try.
I could run it, but it worked strange.

from the java console:
java.lang.ClassCastException: CrashTVClient	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)Exception in thread "AWT-EventQueue-2" java.security.AccessControlException: access denied (java.lang.RuntimePermission exitVM)	at java.security.AccessControlContext.checkPermission(Unknown Source)	at java.security.AccessController.checkPermission(Unknown Source)	at java.lang.SecurityManager.checkPermission(Unknown Source)	at java.lang.SecurityManager.checkExit(Unknown Source)	at java.lang.Runtime.exit(Unknown Source)	at java.lang.System.exit(Unknown Source)	at CrashTVClient$1.windowClosing(CrashTVClient.java:105)	at java.awt.Window.processWindowEvent(Unknown Source)	at javax.swing.JFrame.processWindowEvent(Unknown Source)	at java.awt.Window.processEvent(Unknown Source)	at java.awt.Component.dispatchEventImpl(Unknown Source)	at java.awt.Container.dispatchEventImpl(Unknown Source)	at java.awt.Window.dispatchEventImpl(Unknown Source)	at java.awt.Component.dispatchEvent(Unknown Source)	at java.awt.EventQueue.dispatchEvent(Unknown Source)	at java.awt.EventDispatchThread.pumpOneEventForHierarchy(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)
Not sure why this would be, Its not really meant to run as a web applet.

Chris

This topic is closed to new replies.

Advertisement