On Fri, 26 May 2006, Miguel wrote:

> > I'm working on some software that incorporates Jmol within a larger
> > applet.  It pretty much follows what's done in Integration.java.
> >
> > I have two questions:
> >
> > 1. How can I enable the popup menu within Jmol itself?
>
> Jmol itself does not manage the event handler for popup events. There were
> a number of reasons for this, many of which are probably not valid
> anymore.
>
> It should probably be rethought after we drop support for 1.1 JVMs at the
> end of 2006.
>
> But, that does not help you in the interim ...
>
> You need to create a JmolStatusListener object that will receive
> notification of the popup event and then tell the popup to show itself.
>
> Look at src/org/jmol/applet/Jmol.java for an example.

Okay, I will look at that.

> > 2. Is there an easy way that I can incorporate Jmol's menus within
> >    the menu bar of my applet?
>
> Not sure what you are asking here.

Well, for example, I want to have the items from Jmol's View menu show
up in the View menu of my applet, without having to write my own code
that produces those menu items.  I hope that clarifies what I'm looking
for...

Thanks much for the info.

Kent Wenger


-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to