Hi Pradeep,
It seems to work for the BackgroundColorButton, which is used by the
Control menu.
Are we talking about the same background? I'm taking about the ocean
color.
- Don
On Thursday, July 12, 2001, at 07:57 AM, PRADEEP RAMACHANDRAN wrote:
> Thanks Don,
>
> I couldn't get a grip on setting the background color with the MapBean.
> Neither the MapBean's setBackgroundColor nor the inherited method
> ( from JComponent ) setBackground seem to be setting the background.
>
> Am I missing something?
>
> Regards,
> Pradeep.
>
>
> --
>
> On Wed, 11 Jul 2001 11:10:49
> Don Dietrick wrote:
>> Hi Pradeep,
>>
>> The background color can be set in the MapBean. It's the first thing
>> painted on a MapBean paint(), so it's more related to the Swing
>> painting
>> mechanism rather than to the projectionChanged call, even though the
>> projectionChanged calls trigger the layers to call repaint().
>>
>> - Don
>>
>>
>> On Wednesday, July 11, 2001, at 09:22 AM, PRADEEP RAMACHANDRAN wrote:
>>
>>> Hello,
>>>
>>> Is there any way to change the Background color apart
>>> from setting the openmap.properties file.
>>>
>>> The SimpleMap aplication appears with a gray background,
>>> could the background for this application be changed to
>>> the defaultBackgroundColor ?
>>>
>>> If the projection were to be used to setBackgroundColor
>>> would it need to be done in the projectionChanged for
>>> any of the layers?
>>>
>>> Regards,
>>> Pradeep.
>>>
>>>
>>> Get 250 color business cards for FREE!
>>> http://businesscards.lycos.com/vp/fastpath/
>>>
>>> --
>>> [To unsubscribe to this list send an email to "majdart@bbn.com"
>>> with the following text in the BODY of the message "unsubscribe
>>> openmap-users"]
>>>
>> --
>> [To unsubscribe to this list send an email to "majdart@bbn.com"
>> with the following text in the BODY of the message "unsubscribe
>> openmap-users"]
>>
>
>
> Get 250 color business cards for FREE!
> http://businesscards.lycos.com/vp/fastpath/
>
> --
> [To unsubscribe to this list send an email to "majdart@bbn.com"
> with the following text in the BODY of the message "unsubscribe
> openmap-users"]
>
-- [To unsubscribe to this list send an email to "majdart@bbn.com" with the following text in the BODY of the message "unsubscribe openmap-users"]Received on Thu Jul 12 16:19:43 2001
This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:31 EDT