Hi Oliver, If the feature collection is being used in a MapLayer, clearing the feature collection will cause an event to be fired that prompts repainting. Try this...
mapPane.setRepaint( false ); myFeatureCollection.clear(); ... // repopulate collection mapPane.setRepaint( true ); Hope this helps. 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 [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
