Package org.openscience.jchempaint.dialog

Examples of org.openscience.jchempaint.dialog.PeriodicTableDialog


            else
                newActiveModule=new AddAtomModule(jcpPanel.get2DHub(), IBond.Stereo.NONE);
            newActiveModule.setID(symbol);
            jcpPanel.get2DHub().setActiveDrawModule(newActiveModule);
            // open PeriodicTable panel
            PeriodicTableDialog dialog = new PeriodicTableDialog();
            dialog.setName("periodictabledialog");
            symbol=dialog.getChoosenSymbol();
            if(symbol.equals(""))
                return;
            jcpPanel.get2DHub().getController2DModel().setDrawElement(symbol);
            jcpPanel.get2DHub().getController2DModel().setDrawIsotopeNumber(0);
            jcpPanel.get2DHub().getController2DModel().setDrawPseudoAtom(false);
View Full Code Here

TOP

Related Classes of org.openscience.jchempaint.dialog.PeriodicTableDialog

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.