On 18/09/2011 21:06, William Zwicky wrote:
> On Sun, Sep 18, 2011 at 9:48 AM, Joe Emenaker <[email protected]> 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.

------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
http://p.sf.net/sfu/rim-devcon-copy2
_______________________________________________
Jsynthlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jsynthlib-devel

Reply via email to