From: Jonathan G. <gu...@uw...> - 2022-10-25 03:48:07
|
I am running into issues getting a development environment up and running and successfully building Jmol. I have backed down to the simplest thing I think I can build, just the test applet using GIT/Jmol-SwingJS/build-app-only.xml. Once I get that to work, I will proceed to more complex builds with translation, etc. Running this build on the latest commit gives about 100 deprecation warnings and the following errors: [javac] /home/jonathan/GIT/Jmol-SwingJS/src/jspecview/application/AwtTreeNode.java:21: error: children() in AwtTreeNode cannot override children() in DefaultMutableTreeNode [javac] public Enumeration<JSVTreeNode> children() { [javac] ^ [javac] return type Enumeration<JSVTreeNode> is not compatible with Enumeration<TreeNode> [javac] /home/jonathan/GIT/Jmol-SwingJS/src/jspecview/application/AwtTreeNode.java:22: error: incompatible types: Enumeration<TreeNode> cannot be converted to Enumeration<JSVTreeNode> [javac] return super.children(); [javac] /home/jonathan/GIT/Jmol-SwingJS/src/org/jmol/applet/Jmol.java:303: error: cannot find symbol [javac] jsoWindow = JSObject.getWindow(applet); [javac] ^ [javac] symbol: method getWindow(JApplet) [javac] location: class JSObject Am I even remotely on the correct track? It looks like problems in both Jmol and jspecview. Thanks, Jonathan Dr. Jonathan Gutow Halsey Room 412 Chemistry Department UW Oshkosh web: https://cms.gutow.uwosh.edu/Gutow<https://cms.uwosh.edu/G> e-mail: gu...@uw... Ph: 920-424-1326 |