mapFrame.getMapPane().setBackground( Color.BLACK ); Michael
On 5 August 2011 17:40, Valerio Di Gregorio <[email protected]> wrote: > Hello, > I'd like to change the background of my map. It is white, but i want it > black. I tried: > > Frame frame = JMapFrame.getFrames()[0] ; // I have only one frame > frame.setBackground(Color.BLACK); > > But it is still white. > > Thanks, > Valerio > > -- > > Valerio Di Gregorio > Automotive and Telecommunication Division > Information Engineer > > INTECS Informatica e Tecnologia del Software S.p.A. > Via Egidio Giannessi, 5 > 56121 - Ospedaletto, Pisa > Italy > > Voice: +39 050 9657 411 (operator) > Voice: +39 050 9657 455 (direct) > Fax: +39 050 9657 400 > Skype: valeriodigregorio.intecs.it > Email: [email protected] > Web: http://www.intecs.it > > > > LEGAL DISCLAIMER: > The contents of this email and any transmitted files are confidential and > intended solely for the use of the individual or entity to whom they are > addressed. We hereby exclude any warranty and any liability as to the quality > or accuracy of the contents of this email and any attached transmitted files. > If you are not the intended recipient, be advised that you have received this > email in error and that any use, dissemination, forwarding, printing or > copying of this email is strictly prohibited. If you have received this email > in error please contact the sender and delete the material from any computer. > > ------------------------------------------------------------------------------ > BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA > The must-attend event for mobile developers. Connect with experts. > Get tools for creating Super Apps. See the latest technologies. > Sessions, hands-on labs, demos & much more. Register early & save! > http://p.sf.net/sfu/rim-blackberry-1 > _______________________________________________ > Geotools-gt2-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users > ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
