We might be able to add an option to provide a pre-existing frame or null
when starting the console. If null, then as is; if not null, then use that
frame as a container.
On Thu, Sep 9, 2010 at 11:32 AM, Jim Procter
<jproc...@compbio.dundee.ac.uk>wrote:
>
> Hi again, everyone.
>
> I've nearly finished my integration of Jmol 12.x with Jalview 2.6 - but
> have one last outstanding issue. In the old Jmol releases, we used to
> implement the org.jmol.Viewer.StatusManager.showConsole(boolean) method,
> and instantiate a modified version of the Jmol script window which was
> displayed in a SplitFrame within the same JFrame holding a Jmol viewer.
>
> The problem is, I can't work out what the "approved" route might be for
> doing the same for Jmol 12.X, and at the moment, the Jmol console opens
> as a free-floating window - which is fine when only one Jmol view is
> present, but not so good when there are several structure views open.
>
> Any ideas on how I can do this without forking Jmol's api ? The
> solution for version 11 was to duplicate the Jmol ScriptWindow class
> within the Jalview gui package and modify it for our purposes. That's
> fine to do again, but I'd like a (near) futureproof mechanism of
> switching our console implementation for the default Jmol application
> console.
>
> Thanks for listening...
> Jim.
>
>
> --
> -------------------------------------------------------------------
> J. B. Procter (JALVIEW/ENFIN) Barton Bioinformatics Research Group
> Phone/Fax:+44(0)1382 388734/345764 http://www.compbio.dundee.ac.uk
> The University of Dundee is a Scottish Registered Charity, No. SC015096.
>
>
>
> ------------------------------------------------------------------------------
> This SF.net Dev2Dev email is sponsored by:
>
> Show off your parallel programming skills.
> Enter the Intel(R) Threading Challenge 2010.
> http://p.sf.net/sfu/intel-thread-sfd
> _______________________________________________
> Jmol-developers mailing list
> Jmol-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jmol-developers
>
--
Robert M. Hanson
Professor of Chemistry
St. Olaf College
1520 St. Olaf Ave.
Northfield, MN 55057
http://www.stolaf.edu/people/hansonr
phone: 507-786-3107
If nature does not answer first what we want,
it is better to take what answer we get.
-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:
Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Jmol-developers mailing list
Jmol-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-developers