Re: [OpenMap Users] JToolBar usage in StatusLightPanel - LAF problems

From: Carsten Ø. Madsen <com_at_navicon.dk>
Date: Sat, 25 Aug 2007 18:57:28 +0200

Hi Don

Here is a version that uses a JPanel with BoxLayout.

Here http://navicon.dk/AIS/statuslight.png is how it looks with a LAF
that uses shaded toolbars.

Notice that the LAF (Substance) handles the nested JToolbar's in the
main toolbar so that nested toolbars do not get shaded.

/carsten

Don Dietrick wrote:
> Hi Carsten,
>
> I think it was put in a JToolBar so it could be pulled out into a
> floating window. I'm not anyone does that anymore, so a conversion to
> JPanel would be OK.
>
> - Don
>
>
> On Aug 24, 2007, at 10:41 AM, Carsten Ø. Madsen wrote:
>
>> The usage of JToolBar as container for the layer status light buttons
>> in the StatusLightPanel can cause LAF problems, e.g., when using the
>> Substance LAF where toolbars are shaded.
>>
>> Is it really necessary to use a JToolBar as container?
>>
>> I think a JPanel should do it.
>>
>> BR
>> Carsten
>>
>> --
>> [To unsubscribe to this list send an email to "majdart_at_bbn.com"
>> with the following text in the BODY of the message "unsubscribe
>> openmap-users"]
>
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> Don Dietrick, dietrick_at_bbn.com
> BBN Technologies, Cambridge MA
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>
>
>




--
[To unsubscribe to this list send an email to "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Sat Aug 25 2007 - 13:01:11 EDT

This archive was generated by hypermail 2.3.0 : Tue Mar 28 2017 - 23:25:08 EDT