Hi Bob > It does sound interesting. Clicking on the Jmol logo does get you the most > recent menu already. That is a clever idea!
> We're talking about the application here, right? These are the magic lines in my code to launch Jmol this.shared_adapter=new org.jmol.adapter.smarter.SmarterJmolAdapter(); this.shared_viewer=viewer=(Viewer)JmolViewer.allocateViewer(this.shared_panel, this.shared_adapter); this.shared_viewer.setJmolCallbackListener(this); > Is there a built-in Swing property for this sort of thing? No. I am using MouseMotionListener on JMenuItem. If dragged outside I create a JButton and place the JButton in a JList. For Strap menus this List is persistent betw. sessions. The only thing I need to do is to iterate through all menu items of Jmol and add this MouseMotion listener. ------------------------------------------------------------------------------ The Next 800 Companies to Lead America's Growth: New Video Whitepaper David G. Thomson, author of the best-selling book "Blueprint to a Billion" shares his insights and actions to help propel your business during the next growth cycle. Listen Now! http://p.sf.net/sfu/SAP-dev2dev _______________________________________________ Jmol-developers mailing list Jmol-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-developers