Re: [Jmol-developers] Customized application menu

2014-12-03 Thread Rolf Huehne
On 12/03/2014 05:00 PM, Robert Hanson wrote:
> On Wed, Dec 3, 2014 at 9:19 AM, Rolf Huehne  wrote:
>> Could the Java console also be opened like in the application?
>>
>
> The Jmol applet console opens in a separate frame in front of the applet.
>
Do you mean the 'Jmol console' for entering commands or the 'Jmol Java 
console' for error messages? I meant the second one which I can't 
convince to appear with 'IcedTea Java' and the applet if the browser 
doesn't have an option to open it.
> If there's much to change, that's certainly writing a new application. You
> need a whole raft of additional files -- icons, button layouts, all sorts
> of things. The top application menu is basically a text file that could be
> read on demand. See
> sourceforge.net/p/jmol/code/HEAD/tree/trunk/Jmol/src/org/openscience/jmol/app/jmolpanel/Properties/Jmol-resources.properties
>
> A good project for a volunteer, perhaps. Not I.
>
I guess I will have to be that volunteer, although I havn't done any 
Java programming yet. I am still on my way to figure out what will be 
necessary for my new project. Let's see how it develops...

Regards,
Rolf
-- 

Rolf Huehne
Postdoc

Leibniz Institute for Age Research - Fritz Lipmann Institute (FLI)
Beutenbergstrasse 11
07745 Jena, Germany

Phone:   +49 3641 65 6205
Fax: +49 3641 65 6210
E-Mail:  rhue...@fli-leibniz.de
Website: http://www.fli-leibniz.de

   Scientific Director: Prof. Dr. K. Lenhard Rudolph
Head of Administration: Dr. Daniele Barthel
Chairman of Board of Trustees: Dennys Klein

VAT No: DE 153 925 464
Register of Associations: No. 230296, Amtsgericht Jena
Tax Number: 162/141/08228


--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
___
Jmol-developers mailing list
Jmol-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-developers


Re: [Jmol-developers] Customized application menu

2014-12-03 Thread Robert Hanson
On Wed, Dec 3, 2014 at 9:19 AM, Rolf Huehne  wrote:

> On 12/03/2014 02:00 PM, Robert Hanson wrote:
> > [I prefer to refer to the Java application as "Jmol" still, not JSmol,
> > please. That's too twisted for me!]
> >
> Bob, but wasn't it you who turned away from the separation at the
> beginning into JSmol=Javascript and Jmol=Java to
> JSmol=Javascript/Java/WebGL making everything to JSmol, logically also
> including the application?
> To avoid confusions I just have adapted to that and started to think of
> Jmol as JSmol in general.
>

I make the distinction for the Java application still.


> >> application main menu customizable on the fly (like the popup menu) and
> >> ideally also the icon toolbar with customized icons?
> >>
> >>
> > not possible. These are hard-coded
> >
> So to change anything in the toolbar or the main menu even only at
> startup it would be necessary to build a seperate other application?
>
>
well, or rewrite some code to load auxiliary files or something like that.


> >
> >> Since 'Java webstart' supposedly will be the only alternative to get the
> >> Java version of JSmol running from the Web after (some of) the major
> >> browsers have dropped the Java plugins, it would be helpful to have also
> >> more control over the appearance and functionality of the application.
> >>
> >
> >
> > That's not entirely true. You can run the Jmol Java applet outside a
> > browser. Just start the JNLP files in the java directory of the JSmol
> > distribution. That's entirely outside any browser.
> >
> The applet would be fully functional except for stuff related to browser
> communication?
>

right -- just no JavaScript buttons and such -- the frame itself only


>
> Could the Java console also be opened like in the application?
>

The Jmol applet console opens in a separate frame in front of the applet.


> >
> >
> >>
> >> Another use case for a customizable application would be if someone
> >> (like me) would like to use the JSmol application with a different focus
> >> than molecular structures or enhance for example the modelkit
> >> functionality or the application functionality in general.
> >>
> >>
> > I do think this is an interesting suggestion. What about the Macros menu?
> > This seems to be under-utilized.
> >
> For enhancements this could be useful. But for shifting the focus it
> would be necessary to get rid and/or rename some of the existing menu
> entries or toolbar icons.
>
>
If there's much to change, that's certainly writing a new application. You
need a whole raft of additional files -- icons, button layouts, all sorts
of things. The top application menu is basically a text file that could be
read on demand. See
sourceforge.net/p/jmol/code/HEAD/tree/trunk/Jmol/src/org/openscience/jmol/app/jmolpanel/Properties/Jmol-resources.properties

A good project for a volunteer, perhaps. Not I.





> Regards,
> Rolf
> --
>
> Rolf Huehne
> Postdoc
>
> Leibniz Institute for Age Research - Fritz Lipmann Institute (FLI)
> Beutenbergstrasse 11
> 07745 Jena, Germany
>
> Phone:   +49 3641 65 6205
> Fax: +49 3641 65 6210
> E-Mail:  rhue...@fli-leibniz.de
> Website: http://www.fli-leibniz.de
>
>Scientific Director: Prof. Dr. K. Lenhard Rudolph
> Head of Administration: Dr. Daniele Barthel
> Chairman of Board of Trustees: Dennys Klein
>
> VAT No: DE 153 925 464
> Register of Associations: No. 230296, Amtsgericht Jena
> Tax Number: 162/141/08228
>
>
>
> --
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
>
> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
> ___
> Jmol-developers mailing list
> Jmol-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jmol-developers
>



-- 
Robert M. Hanson
Larson-Anderson Professor of Chemistry
Chair, Department of Chemistry
St. Olaf College
Northfield, MN
http://www.stolaf.edu/people/hansonr


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
--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk___
Jmol-developers mailing list
Jmol-developers@lists.sourceforge.net
https://lists.sourceforge.net

Re: [Jmol-developers] Customized application menu

2014-12-03 Thread Rolf Huehne
On 12/03/2014 02:00 PM, Robert Hanson wrote:
> [I prefer to refer to the Java application as "Jmol" still, not JSmol,
> please. That's too twisted for me!]
>
Bob, but wasn't it you who turned away from the separation at the 
beginning into JSmol=Javascript and Jmol=Java to 
JSmol=Javascript/Java/WebGL making everything to JSmol, logically also 
including the application?
To avoid confusions I just have adapted to that and started to think of 
Jmol as JSmol in general.

>
>
>
> On Wed, Dec 3, 2014 at 6:48 AM, Rolf Huehne  wrote:
>
>> Hi developers,
>>
>> I would like to know if it would be possible to make the JSmol
>> application main menu customizable on the fly (like the popup menu) and
>> ideally also the icon toolbar with customized icons?
>>
>>
> not possible. These are hard-coded
>
So to change anything in the toolbar or the main menu even only at 
startup it would be necessary to build a seperate other application?

>
>> Since 'Java webstart' supposedly will be the only alternative to get the
>> Java version of JSmol running from the Web after (some of) the major
>> browsers have dropped the Java plugins, it would be helpful to have also
>> more control over the appearance and functionality of the application.
>>
>
>
> That's not entirely true. You can run the Jmol Java applet outside a
> browser. Just start the JNLP files in the java directory of the JSmol
> distribution. That's entirely outside any browser.
>
The applet would be fully functional except for stuff related to browser 
communication?

Could the Java console also be opened like in the application?
This would be important because it is very difficult to explain to users 
how to open it in their specific environment for troubleshooting. Having 
a simple general applicable method would be very good.
Actually I don't even know myself how to open the Java console in my 
current Linux system with 'Iced Tea' Java except by using the Jmol menu, 
even though I tried hard to find a way.

>
>
>>
>> Another use case for a customizable application would be if someone
>> (like me) would like to use the JSmol application with a different focus
>> than molecular structures or enhance for example the modelkit
>> functionality or the application functionality in general.
>>
>>
> I do think this is an interesting suggestion. What about the Macros menu?
> This seems to be under-utilized.
>
For enhancements this could be useful. But for shifting the focus it 
would be necessary to get rid and/or rename some of the existing menu 
entries or toolbar icons.

Regards,
Rolf
-- 

Rolf Huehne
Postdoc

Leibniz Institute for Age Research - Fritz Lipmann Institute (FLI)
Beutenbergstrasse 11
07745 Jena, Germany

Phone:   +49 3641 65 6205
Fax: +49 3641 65 6210
E-Mail:  rhue...@fli-leibniz.de
Website: http://www.fli-leibniz.de

   Scientific Director: Prof. Dr. K. Lenhard Rudolph
Head of Administration: Dr. Daniele Barthel
Chairman of Board of Trustees: Dennys Klein

VAT No: DE 153 925 464
Register of Associations: No. 230296, Amtsgericht Jena
Tax Number: 162/141/08228


--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
___
Jmol-developers mailing list
Jmol-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-developers


Re: [Jmol-developers] Customized application menu

2014-12-03 Thread Robert Hanson
[I prefer to refer to the Java application as "Jmol" still, not JSmol,
please. That's too twisted for me!]




On Wed, Dec 3, 2014 at 6:48 AM, Rolf Huehne  wrote:

>Hi developers,
>
> I would like to know if it would be possible to make the JSmol
> application main menu customizable on the fly (like the popup menu) and
> ideally also the icon toolbar with customized icons?
>
>
not possible. These are hard-coded


> Since 'Java webstart' supposedly will be the only alternative to get the
> Java version of JSmol running from the Web after (some of) the major
> browsers have dropped the Java plugins, it would be helpful to have also
> more control over the appearance and functionality of the application.
>


That's not entirely true. You can run the Jmol Java applet outside a
browser. Just start the JNLP files in the java directory of the JSmol
distribution. That's entirely outside any browser.



>
> Another use case for a customizable application would be if someone
> (like me) would like to use the JSmol application with a different focus
> than molecular structures or enhance for example the modelkit
> functionality or the application functionality in general.
>
>
I do think this is an interesting suggestion. What about the Macros menu?
This seems to be under-utilized.

Bob
--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk___
Jmol-developers mailing list
Jmol-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-developers


[Jmol-developers] Customized application menu

2014-12-03 Thread Rolf Huehne
   Hi developers,

I would like to know if it would be possible to make the JSmol 
application main menu customizable on the fly (like the popup menu) and 
ideally also the icon toolbar with customized icons?

Since 'Java webstart' supposedly will be the only alternative to get the 
Java version of JSmol running from the Web after (some of) the major 
browsers have dropped the Java plugins, it would be helpful to have also 
more control over the appearance and functionality of the application.
And since there is still a large performance difference between the 
Javascript and Java versions of JSmol (that will persist presumably 
longer than half a year) the Javascript version cannot fully replace the 
Java version (yet) if you have to deal for example with all available 
PDB structures.
I am not sure how I could transfer most of the functionality of the 
'Jena3D Viewer' into the JSmol application without an integrated browser 
engine, but I guess I might have to try at least to transfer some of the 
functionality.

Another use case for a customizable application would be if someone 
(like me) would like to use the JSmol application with a different focus 
than molecular structures or enhance for example the modelkit 
functionality or the application functionality in general.

Regards,
Rolf

-- 

Rolf Huehne
Postdoc

Leibniz Institute for Age Research - Fritz Lipmann Institute (FLI)
Beutenbergstrasse 11
07745 Jena, Germany

Phone:   +49 3641 65 6205
Fax: +49 3641 65 6210
E-Mail:  rhue...@fli-leibniz.de
Website: http://www.fli-leibniz.de

   Scientific Director: Prof. Dr. K. Lenhard Rudolph
Head of Administration: Dr. Daniele Barthel
Chairman of Board of Trustees: Dennys Klein

VAT No: DE 153 925 464
Register of Associations: No. 230296, Amtsgericht Jena
Tax Number: 162/141/08228


--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
___
Jmol-developers mailing list
Jmol-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-developers