On 10/09/2010 07:00, Robert Hanson wrote:
> Hmm. I will have to work on this over the weekend. The console extends 
> JDialog. 
bother - I had a similar issue with some of Jalview's dialogs.. I ended 
up refactoring the init code to an internal builder method that'd create 
a new dialog and set its content pane if no parent frame was given. If I 
remember correctly, you have to be careful with Input focus transfer if 
your dialog then spawns more dialogs afterwards :)

> Are you looking for the entire console being subsumed into another frame?
Yes. The refactored ScriptWindow from Jmol 11 extends JPanel, so we just 
add it and the renderer to a SplitFrame - you can see the code from 
Jalview 2.5 here :

http://www.google.com/codesearch/p?hl=en#OHBU0s_E66s/trunk/src/jalview/gui/AppJmol.java&q=ScriptWindow%20package:http://jalview%5C.googlecode%5C.com&l=930

Jim.


------------------------------------------------------------------------------
Automate Storage Tiering Simply
Optimize IT performance and efficiency through flexible, powerful, 
automated storage tiering capabilities. View this brief to learn how
you can reduce costs and improve performance. 
http://p.sf.net/sfu/dell-sfdev2dev
_______________________________________________
Jmol-developers mailing list
Jmol-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to