From: frankster <jsy...@te...> - 2011-09-18 09:36:23
|
I noticed that its possible to change the look and feel of JSL to nimbus (with Java 6). IMO it looks a lot more modern than the default metal theme. I am inclined to put some code in that will default to this when creating the settings for the first time, unless anybody has any objections? http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/nimbus.html frankie |
From: Michael H. <kor...@ya...> - 2011-09-18 14:58:43
|
Yes please! ________________________________ From: frankster <jsy...@te...> To: jsy...@li... Sent: Sunday, September 18, 2011 5:35 AM Subject: [Jsynthlib-devel] default look and feel I noticed that its possible to change the look and feel of JSL to nimbus (with Java 6). IMO it looks a lot more modern than the default metal theme. I am inclined to put some code in that will default to this when creating the settings for the first time, unless anybody has any objections? http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/nimbus.html frankie ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA http://p.sf.net/sfu/rim-devcon-copy2 _______________________________________________ Jsynthlib-devel mailing list Jsy...@li... https://lists.sourceforge.net/lists/listinfo/jsynthlib-devel |
From: Joachim <li...@sd...> - 2011-09-18 15:32:50
|
Hi, would this mean that JSynthlib runs only with JRE 1.6? Anyway: Is anyone even using a version prior to JRE 1.6? 1.6 has been out for a couple of years. Joachim Am 18.09.2011 11:35, schrieb frankster: > I noticed that its possible to change the look and feel of JSL to nimbus > (with Java 6). IMO it looks a lot more modern than the default metal > theme. I am inclined to put some code in that will default to this when > creating the settings for the first time, unless anybody has any objections? > > http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/nimbus.html > > frankie > > ------------------------------------------------------------------------------ > BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA > http://p.sf.net/sfu/rim-devcon-copy2 > _______________________________________________ > Jsynthlib-devel mailing list > Jsy...@li... > https://lists.sourceforge.net/lists/listinfo/jsynthlib-devel > |
From: Joe E. <jo...@em...> - 2011-09-18 16:48:27
|
On 9/18/2011 8:32 AM, Joachim wrote: > Hi, > > would this mean that JSynthlib runs only with JRE 1.6? > > Anyway: Is anyone even using a version prior to JRE 1.6? > 1.6 has been out for a couple of years. I'm using 1.6 exclusively. Another benefit of 1.6 is that it supports splash-screens on application loading (so I wouldn't have to write one myself, which would require over-riding the classloader). However, supporting Nimbus doesn't mean *requiring* 1.6. We could just have JSL check to see what version of Java it's running under. Personally, my preference for the behavior would be: - JSL's *default* look-n-feel would be Metal for 1.5 and earlier and Nimbus for 1.6 and later. - If the user has ever *changed* the setting to something, then it tries to stick to that whenever it can, instead of the default. - The gotcha here is when the user chooses Nimbus on 1.6 and then, for some reason, goes back to 1.5. In this case, JSL should switch back to Metal. (The easiest way to achieve this, probably, is to switch JSL back to "default" when someone chooses Nimbus). - Joe |
From: Frankie F. <jsy...@te...> - 2011-09-18 19:54:46
|
well I anticipate that when it creates a configuration for the first time, it checks if nimbus exists and if so sets it to that. otherwise it would default to metal as current. so no, it has no version implications (apart from looking better on 1.6+) frankie On 18/09/2011 16:32, Joachim wrote: > Hi, > > would this mean that JSynthlib runs only with JRE 1.6? > > Anyway: Is anyone even using a version prior to JRE 1.6? > 1.6 has been out for a couple of years. > > Joachim > > Am 18.09.2011 11:35, schrieb frankster: >> I noticed that its possible to change the look and feel of JSL to nimbus >> (with Java 6). IMO it looks a lot more modern than the default metal >> theme. I am inclined to put some code in that will default to this when >> creating the settings for the first time, unless anybody has any objections? >> >> http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/nimbus.html >> >> frankie >> >> ------------------------------------------------------------------------------ >> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA >> http://p.sf.net/sfu/rim-devcon-copy2 >> _______________________________________________ >> Jsynthlib-devel mailing list >> Jsy...@li... >> https://lists.sourceforge.net/lists/listinfo/jsynthlib-devel >> > > ------------------------------------------------------------------------------ > BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA > http://p.sf.net/sfu/rim-devcon-copy2 > _______________________________________________ > Jsynthlib-devel mailing list > Jsy...@li... > https://lists.sourceforge.net/lists/listinfo/jsynthlib-devel |
From: William Z. <wrz...@po...> - 2011-09-18 20:07:07
|
On Sun, Sep 18, 2011 at 9:48 AM, Joe Emenaker <jo...@em...> wrote: > > However, supporting Nimbus doesn't mean *requiring* 1.6. We could just > have JSL check to see what version of Java it's running under. > > Personally, my preference for the behavior would be: > - JSL's *default* look-n-feel would be Metal for 1.5 and earlier and > Nimbus for 1.6 and later. > - If the user has ever *changed* the setting to something, then it tries > to stick to that whenever it can, instead of the default. > - The gotcha here is when the user chooses Nimbus on 1.6 and then, for > some reason, goes back to 1.5. In this case, JSL should switch back to > Metal. (The easiest way to achieve this, probably, is to switch JSL back > to "default" when someone chooses Nimbus). > I doubt we need to check the version number at all. Just: - activate user's preference. If that fails or crashes, - activate Nimbus. If that fails or crashes, - activate Metal. -Bill Zwicky |
From: Frankie F. <jsy...@te...> - 2011-09-18 21:53:25
|
On 18/09/2011 21:06, William Zwicky wrote: > On Sun, Sep 18, 2011 at 9:48 AM, Joe Emenaker <jo...@em...> wrote: > >> However, supporting Nimbus doesn't mean *requiring* 1.6. We could just >> have JSL check to see what version of Java it's running under. >> >> Personally, my preference for the behavior would be: >> - JSL's *default* look-n-feel would be Metal for 1.5 and earlier and >> Nimbus for 1.6 and later. >> - If the user has ever *changed* the setting to something, then it tries >> to stick to that whenever it can, instead of the default. >> - The gotcha here is when the user chooses Nimbus on 1.6 and then, for >> some reason, goes back to 1.5. In this case, JSL should switch back to >> Metal. (The easiest way to achieve this, probably, is to switch JSL back >> to "default" when someone chooses Nimbus). >> > I doubt we need to check the version number at all. Just: > - activate user's preference. If that fails or crashes, > - activate Nimbus. If that fails or crashes, > - activate Metal. > > I've implemented: - if a user preference exists, load it. otherwise load nimbus. - if anything fails then it will remain at the system default - probably metal. |
From: Roger W. <ro...@us...> - 2011-09-19 11:48:33
|
> would this mean that JSynthlib runs only with JRE 1.6? > > Anyway: Is anyone even using a version prior to JRE 1.6? > 1.6 has been out for a couple of years. Java 1.5 (and before) is End Of Life so there is no reason to support anything older than 1.6. (And 1.6 has been around for ages.) Regards, Roger |