At 12/5/09, Eric Martz wrote: >In Mac OS X, is there some way to specify the positions of the Jmol >application windows (main model view window and console window) at >startup? I found how to specify the size of the main window on this >list in a discussion on Sept 12, 2008, namely, in Terminal > >java -jar jmol.jar -g600x600 > >What about the console window, and what about positions of the 2 >default windows? When trying different versions of Jmol it would be >really nice for them to open in a functional arrangement! > >Thanks, -Eric
I tried the following command in Terminal. Following a suggestion in the 2008 discussion, I dragged and dropped a Jmol into the Terminal, which supplied its absolute path and full filename: java -jar /Users/emartz/Documents/MolVis/Molecular_Playground/Tamiflu/Jmol-11.8.12.jar -g400x600 It worked, but it stuck! Now, when I double-click a Jmol.jar file anywhere on my system (in Finder), it opens with the unwanted 400 x 600 window. Also, it no longer opens the Jmol Console by default! Yikes! As stated in 2008, you can get startup commandline help with "-h" java -jar /Users/emartz/Documents/MolVis/Molecular_Playground/Tamiflu/Jmol-11.8.12.jar -h I was unable to get the -D option combined with JmolConsole=true to work (I tried every syntax variation I could think of) but this works: -Jconsole. So I issued java -jar /Users/emartz/Documents/MolVis/Molecular_Playground/Tamiflu/Jmol-11.8.12.jar -g1020x750 -Jconsole That works. I get a nice big main window and the console opens. But it doesn't stick! Yikes!! So now I am worse off than before. Jmol opens with an unusable window and no Console, unless I issue a Terminal command every time. I have inspected the Java Preferences dialog carefully and I don't see anyplace that my command is being saved there. Notably, the java applet has an "Options" button to insert runtime parameters, but the java application does not! On another java issue, I just upgraded to 1.5_022, the latest version offered by Apple. For a long time, I've had Java Preferences, Advanced, Java Console set to Hide Console. Every time the applet is invoked in the web browser, the Java Console appeared in the Dock. However, that no longer happens. Once I changed the preference to "Show Console" (instead of "Hide Console") it appears for the applet. However, it never appears for the application, and even if it is open when the application starts, nothing is reported. Help, Please! -Eric ------------------------------------------------------------------------------ Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere. http://p.sf.net/sfu/redhat-sfdev2dev _______________________________________________ Jmol-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-users

