From: David L. <d.l...@bi...> - 2009-03-16 14:49:19
|
Rolf wrote: >> and although this might be easier, I did it my way. Don't see >> anything >> like this in Flash out on the web. >> >> http://doolittle.ibls.gla.ac.uk/leader/GMS/index.html >> > When I tried to run the applets with Java 1.4.2_18 in Firefox 3.0.4 on > Linux I got the following error messages and the applets didn't start: > > --------- Excercise, Feeding & Tasting --------------------- > java.lang.Error: Do not use GMSIntegration.setLayout() use > GMSIntegration.getContentPane().setLayout() instead > at javax.swing.JApplet.createRootPaneException(JApplet.java:203) > at javax.swing.JApplet.setLayout(JApplet.java:264) > at GMSIntegration.init(GMSIntegration.java) > at sun.applet.AppletPanel.run(AppletPanel.java:356) > at java.lang.Thread.run(Thread.java:534) > > ---------- Gluconeogenesis - Urea Cycle -------------------- > java.lang.Error: Do not use GMSQuiz.setLayout() use > GMSQuiz.getContentPane().setLayout() instead > at javax.swing.JApplet.createRootPaneException(JApplet.java:203) > at javax.swing.JApplet.setLayout(JApplet.java:264) > at GMSQuiz.init(GMSQuiz.java) > at sun.applet.AppletPanel.run(AppletPanel.java:356) > at java.lang.Thread.run(Thread.java:534) > > Regards, > Rolf > That's the problem with Java: write once, debug everywhere. When I have a moment I'll try to fix it on principle, but there are no problems on the development platform (Mac) or the University client platform (Windows). David ___________________________________________________ Dr. David P. Leader, Faculty of Biomedical & Life Sciences, University of Glasgow, Glasgow G12 8QQ, UK Phone: +44 (0)141 330 5905 http://doolittle.ibls.gla.ac.uk/leader http://motif.gla.ac.uk/ The University of Glasgow, charity number SC004401 ___________________________________________________ |