Yeah, my solution wasn't that simple ...
I added OS X constants to ModelerConstants.java for the native L&F. Then if
the modeler.preferences file doesn't contain a L&F/Theme, it defaults to the
OS X constants if on OS X, otherwise it defaults to the plastic theme
(current default). This makes it work like the current implementation and
allows you to specify a different L&F/Theme in the preferences if you want.
Commenting out configureLookAndFeel() wouldn't allow specifying a different
one in the preferences file.
/dev/mrg
> From: Andrus Adamchik <andru..bjectstyle.org>
> Reply-To: <cayenne-deve..bjectstyle.org>
> Date: Tue, 28 Jun 2005 14:01:04 -0400
> To: <cayenne-deve..bjectstyle.org>
> Subject: Re: Modeler L&F
>
> Kevin,
>
> just comment out this line in org.objectstyle.cayenne.modeler.Main:
>
> configureLookAndFeel();
>
> This will ensure that modeler runs with default platform L&F.
>
> Andrus
>
>
> On Jun 28, 2005, at 1:46 PM, Michael Gentry (Yes, I'm a Contractor)
> wrote:
>
>> Yes, I can, but not from here (can't access CVS/etc through the
>> firewall).
>>
>> Alternatively, I could e-mail out CM's Modeler.java and
>> ModelerConstants.java ... your call.
>>
>> Thanks,
>>
>> /dev/mrg
>>
>>
>>
>>> From: Kevin Menard <kmenar..ervprise.com>
>>> Reply-To: <cayenne-deve..bjectstyle.org>
>>> Date: Tue, 28 Jun 2005 13:08:20 -0400
>>> To: <cayenne-deve..bjectstyle.org>
>>> Subject: Re: Modeler L&F
>>>
>>> Could you please send the patch out so the rest of us can do a
>>> comparison, please?
>>>
>>> Thanks,
>>> Kevin
>>>
>>
>>
>>
>
This archive was generated by hypermail 2.0.0 : Tue Jun 28 2005 - 14:31:23 EDT