Hi,
I am new to Java programming. Please help me solve the below issue.

I am using Jmol as the viewer for my docking tool. I have added my docking
user interface(UI) into Jmol. On launching, First, Jmol viewer will open
then from that I will click open my docking UI.
After I launch my UI, both my UI and the Jmol Viewer will be open.
I will get take inputs like the protein structure and the ligand structure
using the UI(which is a jFrame). After selecting the protein structure, I
would to view the protein structure on the already open Jmol Viewer. I went
through JmolPanel.java and applied openFileAsync() into my UI, but it is
not functioning.


In my UI jFrame I have added the following.

*import org.jmol.viewer.Viewer;*

*public Viewer vwr;*

In the actionPerformed section I have typed the following,

*String fileName = "1TNH.pdb";  *
*vwr.openFileAsync(fileName);*

Is the above usage correct? should I import more classes into my jFrame?
Please let me know.

regards,
Sam Paul D.
------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
Jmol-developers mailing list
Jmol-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to