|
From: martin <ma...@he...> - 2010-01-23 14:16:07
|
Hi Michael, there can i get the code of the JMapFrame?? Do you have a link because i only found the api! Cheers, Martin Michael Bedward schrieb: >> JMapFrame frame = new JMapFrame(); >> FlyingSaucer mapPane = new FlyingSaucer(); >> frame.getContentPane().add(mapPane); >> > > No - that is a very bad idea ! > > Please have a look at the JMapFrame code. You will see that it has a > private JMapPane field initialized in the constructor, positions in > the initComponents method and referenced in various other methods. > Your code snippet above is dropping a completely separate map pane > into the frame. > > Instead you should copy the JMapFrame source and customize it for your own app. > > Michael > > ------------------------------------------------------------------------------ > Throughout its 18-year history, RSA Conference consistently attracts the > world's best and brightest in the field, creating opportunities for Conference > attendees to learn about information security's most important issues through > interactions with peers, luminaries and emerging and established companies. > http://p.sf.net/sfu/rsaconf-dev2dev > _______________________________________________ > Geotools-gt2-users mailing list > Geo...@li... > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users > |