applet.button("C").click();
applet.button("bondTool").click();
applet.panel("renderpanel").robot.click(applet.panel("renderpanel").component(),new Point(100,100));
applet.button("select").click();
IAtomContainer ethane = panel.getChemModel().getMoleculeSet().getAtomContainer(0);
Point2d p1 = ethane.getAtom(0).getPoint2d();
p1 = panel.getRenderPanel().getRenderer().toScreenCoordinates(p1.x, p1.y);
panel.get2DHub().mouseClickedDown((int)p1.x, (int)p1.y);
applet.panel("renderpanel").robot.waitForIdle();
panel.get2DHub().mouseClickedUp((int)p1.x, (int)p1.y);
panel.get2DHub().updateView();
applet.panel("renderpanel").robot.waitForIdle();
IChemObjectSelection sel = panel.getRenderPanel().getRenderer().getRenderer2DModel().getSelection();
Assert.assertEquals(true, sel.contains(ethane.getAtom(0)));
applet.menuItem("formalCharge").requireEnabled();
Point2d p2 = ethane.getAtom(1).getPoint2d();
p2 = panel.getRenderPanel().getRenderer().toScreenCoordinates(p2.x, p2.y);
panel.get2DHub().mouseClickedDown((int)p2.x, (int)p2.y);
applet.panel("renderpanel").robot.waitForIdle();
panel.get2DHub().mouseClickedUp((int)p2.x, (int)p2.y);
panel.get2DHub().updateView();