Hi,Egon,
I got very helpful information from you,thank you so
much!

I am very happy to know that CDK support copy paste of
clipboard content. But I can't find a copy and paste
button in the latest JChemPaint application or applet
and have no chance to have a trial. I did find a
CopyAndPasteAction.java class inside the source code.
I would like to use this class to build a applet that
copy the image content, which is supposed to be
produced by MDL ISISDraw or other application, from
the clipboard and save it as MDL mol file to database.

I never touch the clipboard copy paste function
before. I wonder if you can give me suggestion to
build this applet.

Thank You!

Qixiong




--- Egon Willighagen <[EMAIL PROTECTED]>
wrote:

> On Saturday 11 February 2006 20:05, zhen Qixiong
> wrote:
> > I am using CDK to develop a web application for
> > chemical inventory.I am new to use CDK and have
> some
> > questions while develop the software. My question
> is:
> >
> > 1 Can I make my program work with this function by
> CDK
> > and how?
> >
> > The function is: the user can copy the chemical
> > structure image produced by other application such
> as
> > MDL ISISDraw, Chemsoft Chemdraw...... and paste
> the
> > image from clip board to my application window,
> then
> > save this image as mol file or sdf file format to
> the
> > database(oracle).
> 
> Depends a bit on the format those programs put on
> the Clipboard.
> I don't run windows, so I can't test it. The binary
> Chemdraw format is not 
> supported by the CDK at this moment, but maybe it
> also puts other formats on 
> the Clipboard...
> 
> > 2 Dose CDK provides API for  Substructure search?
> if
> > it does, can you provide some hints for usage or
> even
> > example source.
> 
> Check out the UniversalIsomophismTester class in the
> 
> org.openscience.cdk.isomorphism package.
> 
> Egon
> 
> PS. this is really a question for the cdk-user
> mailing list.
> 
> -- 
> [EMAIL PROTECTED]
> Blog: http://chem-bla-ics.blogspot.com/
> GPG: 1024D/D6336BA6
> 


__________________________________________________
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: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Cdk-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cdk-user

Reply via email to