Hi, All,
I am writing a CDK based applet,which might have the
function of copying the chemical sturcture image,which
is produced by other chemical structure drawing
software such as MDL's ISISDraw , to  the system's
clipboard and displaying the image on the applet
drawing panel.

I got an email from Egon last time. He confirmed me
that CDK support Copy and Paste right now.

I was very happy to hear about this and compiled the
source code of  cdk-source-20050826 version, and got a
special version of JChemPaint. 

>From this version of JChemPaint, I found some
problems:

1. It dose support copy, cut and paste, but work only
between two running JChempaint program. While it work
on its copy function, I got some exceptions such as:

E:\MyLibrary>java
org.openscience.cdk.applications.jchempaint.application.JChemPaint
java.lang.ClassCastException at
sun.awt.datatransfer.DataTransferer.translateTransferable(DataTransferer.java:1189)
at
sun.awt.windows.WDataTransferer.translateTransferable(WDataTransferer.java:153)......


2 It dose not support copy,cut and paste between two
differt program, such as ISISDraw and JChempaint.

Can anybody provide some idea such that JChemPaint or
my future applet can copy and paste among other chem
drawing programs?

Thank you!

Qixiong 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Cdk-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cdk-user

Reply via email to