Hello Don,
I am sorry but I couldn't find the button mentioned
in the Control Menu. I am using 4.1.1 still and all
there is for the Control Menu are the Mouse Modes.
I checked up the components list in the properties file
didn't have much change there and couldn't find the
button there ... )
The mapBean.setBackgroundColor call that I made were
added to com.bbn.openmap.examples.simple.SimpleMap.java.
I couldn't have the color change in this case.
And yes, the ocean color is what I am looking to change.
Thanks,
Pradeep.
-- On Thu, 12 Jul 2001 16:19:28 Don Dietrick wrote: >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"] >> > 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"]Received on Fri Jul 13 09:36:03 2001
This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:31 EDT