I think the main issue with Java applets is simply that, as here (I think),
if you build them with more advanced versions of Java, you have to be
careful about doing them in such a way as they are compatible with earlier
versions if you want to provide broad accessibility and no surprises. We've
made Jmol Java 1.4 compatible for these reasons.
I don't know if that is really the problem in this case, but it could be.
That's a very odd message -- it isn't coming from Java. It's coming from
whatever custom package "GMSIntegration" is. What is that, anyway?
Bob
On Mon, Mar 16, 2009 at 9:45 AM, David Leader <d.lea...@bio.gla.ac.uk>wrote:
> 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
> ___________________________________________________
>
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
> powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
> easily build your RIAs with Flex Builder, the Eclipse(TM)based development
> software that enables intelligent coding and step-through debugging.
> Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
> _______________________________________________
> Jmol-users mailing list
> Jmol-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
>
--
Robert M. Hanson
Professor of Chemistry
St. Olaf College
1520 St. Olaf Ave.
Northfield, MN 55057
http://www.stolaf.edu/people/hansonr
phone: 507-786-3107
If nature does not answer first what we want,
it is better to take what answer we get.
-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users