public void popupMenuWillBecomeVisible(PopupMenuEvent e) {
				miDots.setSelected(jmolContainer.isDotsEnabled());
				String s = jmolContainer.getScheme();
				if (s != null)
					s = s.intern();
				if (s == JmolContainer.BALL_AND_STICK)
					miBS.setSelected(true);
				else if (s == JmolContainer.SPACE_FILLING)
					miCPK.setSelected(true);
				else if (s == JmolContainer.STICKS)
					miStick.setSelected(true);
				else if (s == JmolContainer.WIREFRAME)
					miWF.setSelected(true);
				else if (s == JmolContainer.CARTOON)
					miCartoon.setSelected(true);
				else if (s == JmolContainer.RIBBON)
					miRibbon.setSelected(true);
				else if (s == JmolContainer.MESHRIBBON)
					miMeshRibbon.setSelected(true);
				else if (s == JmolContainer.ROCKET)
					miRocket.setSelected(true);
				else if (s == JmolContainer.TRACE)
					miTrace.setSelected(true);
				else if (s == JmolContainer.STRANDS)
					miStrands.setSelected(true);
				else if (s == JmolContainer.BACKBONE)
					miBackbone.setSelected(true);
			}