Thanks for the reply, Miguel. I've fixed the problem, it did turn out to be something 
simple - I didn't specify the directory which contained the protein structure files. 
(Instead of <param name="load" value="model.B99990001">, it should have been <param 
name="load" value="jmol/model.B99990001">).
It now works fine.
Thanks again,
Nader

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Miguel
Sent: 22 July 2004 15:16
To: [EMAIL PROTECTED]
Subject: Re: [Jmol-users] Jmol10 pre11 - Applet will not display
anything


Nader wrote:
> I'm trying to use Jmol10 to display protein structures (from PDB files) on
> a webpage. Unfortunately, I can't get the applet to display any
> structures. The applet itself is displayed on the webpage, and I can
> change the background colour,

Using Mozilla, open Tools -> Web Development -> Java Console

See if there are error messages or stack backtraces.

> but no protein structure is displayed. I'm
> using linux Fedora core2, with jakarta tomcat serving the webpage.

Much of my development is done on Fedora core 2.

> This is
> what I have in my HTML:
>
>       <applet name="jmol" code="JmolApplet" archive="JmolApplet.jar"
> codebase="jmol" width="400" height="400" mayscript="true">
>         <param name="progressbar" value="true">
>         <param name="progresscolor" value="blue">
>         <param name="boxmessage" value="Downloading JmolApplet ...">
>         <param name="boxbgcolor" value="black">
>         <param name="boxfgcolor" value="white">
>         <param name="load" value="model.B99990001">
>         <param name="script" value="cpk off; wireframe; ribbons">
>
>       </applet>
>
> The stand-alone version of Jmol10 works fine with the same input structure
> files.

Try reading those files using File -> Open URL and fetching them from
tomcat to see what you get.

When using the Jmol application, open up Help -> Jmol Console to get error
message output.

It is working for other people, so it must be something simple. We will
get it figured out.


Miguel



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Jmol-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jmol-users


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_idG21&alloc_id040&op=click
_______________________________________________
Jmol-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to