hi folks, I just started using Jmol within a Java-Applet Jpanel. Is there a way 
to make the popup menu work ? according to the api, there is a property 
disablepopupmenu. So there should be a meny, right? Am i using a wrong version? 
I googled about this issue, but nothing turned up. I appreciate your help and 
look forward to your answer. Cheers, Franz PS: Here is my implementation just 
to make sure, i didn't do something stupid. :-) Pretty much copied it from 
Koders. static class JmolPanel extends JPanel { JmolViewer viewer; JmolAdapter 
adapter; JmolPanel() { adapter = new SmarterJmolAdapter(null); viewer = 
JmolViewer.allocateViewer(this, adapter); } public JmolViewer getViewer() { 
return viewer; } final Dimension currentSize = new Dimension(); final Rectangle 
rectClip = new Rectangle(); public void paint(Graphics g) { 
getSize(currentSize); g.getClipBounds(rectClip); viewer.renderScreenImage(g, 
currentSize, rectClip); } }


Schnell und einfach ohne Anschlusswechsel zur Lycos DSL Flatrate wechseln und 3 
Monate kostenlos ab effektiven 5,21 EUR pro Monat im ersten Jahr surfen.
http://www.lycos.de/startseite/online/dsl/index.html?prod=DSL&trackingID=email_footertxt
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to