Dear All, I'm thinking about building an AJAX based molecule editor, as Gilleain Torrance(gilleain.blogspot.com)'s molecule editing program proves it is possible. We have a lot of Applet based editors already, but not all computers are equipped with JRE. WebME(molinspiration.com) is property software and PubChem's server side editor is not available for redistribution, so an open source AJAX editor is needed.
Client side code of AJAX applications is traditionally written in javascript, but JCP is written in Java(Swing). If we can write our client side code in Java, just as writing Swing applications, then we can port most of source from JCP. Google Web Toolkit(GWT) provides a Java to javascript complier that generates javascript codes executable in major browsers from "Java code". GWT provides Swing-like GUI apis and widgets, but Java 2D drawing is not supported. So we have to split JCP code into two parts, server side part to handle rendering and client part to capture user's command and then send it to server side part. If anyone is interested in that, please let me know. Best Regards, Duan Lian Laboratory of Molecular Modeling and Design School of Pharmacy East China University of Science and Technology Shanghai, China ------------------------------------------------------------------------------ _______________________________________________ Cdk-user mailing list Cdk-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cdk-user