Dear swingers, As some of you will have noticed directly, or by following discussions here, there are numerous problems with the swing module in the 2.7.x versions of GeoTools. Most of these are due to the recent introduction of new classes in the render module (MapContent and Layer classes). The following is summary of current work on the swing module which might help you to work around current problems or at least know what is coming up...
A lot of work is being done on the trunk sources (GeoTools version 8-SNAPSHOT) to line the swing module up with the render module improvements, fix a lot of long-standing bugs, and provide decent unit test coverage. The core swing components such as JMapFrame, JMapPane and MapLayerTable are now working well, as are the various GeoTools example applications that depend on them. So, if you are presently experience problems in a 2.7.x based project that uses the swing module, please consider swapping over to version 8-SNAPSHOT. The FAQ has a note on how to use GeoTools snapshot versions with Maven: http://docs.geotools.org/latest/userguide/faq.html#q-what-is-a-snapshot-version-and-how-do-i-use-it As well as squashing bugs, many new features are being added and the unit test coverage (previously minimal) is being increased with the ambition of promoting gt-swing to a "supported" module in version 8.0. See below for a summary of recently updated Jira issues. Please note that there will be many breaks in binary compatibility between the new swing code in version 8-SNAPSHOT and that of previous versions. Ce la vie. Unfortunately, no work has been done to fix the problems in version 2.7.x yet. The usual reasons apply: module maintainer with only one brain and not enough (conscious) spare time to do it all. Once the version 8-SNAPSHOT development reaches a satisfactory stage I will do my best to fix problems in 2.7.x but I can't say when this will be. As usual, any assistance in this regard, especially in the form of patches, will be gratefully accepted ! Michael Key Summary Status Resolution GEOT-3746 Add option for multiple backing images to JMapPane Open Unresolved GEOT-3744 JMapPane.setRenderer fails to fire event Closed Fixed GEOT-3743 MapPaneEvent should use MapContent Closed Fixed GEOT-3742 JMapPane.setRenderer only works properly with StreamingRenderer Closed Fixed GEOT-3740 Add cancel methods to RenderingExecutor Closed Fixed GEOT-3738 JSimpleStyleDialog broken on trunk Closed Fixed GEOT-3737 Add shutdown method to RenderingExecutor Closed Fixed GEOT-3736 Allow JMapPane to work with an alternative RenderingExecutor Closed Fixed GEOT-3735 Create JMapPane backing image more reliably Open Unresolved GEOT-3734 GEOT-3732 Add an event class for RenderingExecutor to talk to clients Closed Fixed GEOT-3733 GEOT-3732 Introduce RenderingTask class Closed Fixed GEOT-3732 More flexible relationship between MapPane and RenderingExecutor Closed Fixed GEOT-3730 GEOT-3732 Introduce new RenderingExecutorListener Closed Fixed GEOT-3729 GEOT-3732 Base existing RenderingExecutor class on an interface Closed Fixed GEOT-3723 Create MapPane interface Closed Fixed GEOT-3722 Various improvements to MapMouseEvent Closed Fixed GEOT-3721 MapContent can fail to add listener to newly added layer Closed Fixed GEOT-3720 Change scope of JAI jars to "compile" rather than "provided" Closed Fixed GEOT-3719 MapLayerTable not interacting properly with JMapPane Closed Fixed GEOT-3716 FeatureLayer cannot share DefaultFeatureCollection Open Unresolved GEOT-3715 GEOT-3722 MapMouseEvent ReferencedEnvelope based on number of pixels Closed Fixed GEOT-3710 GEOT-3563 Update example code and docs for changes in swing and render modules Closed Fixed GEOT-3709 GEOT-3563 swing module refactored to use MapConent, MapViewport and new Layer classes In Progress Unresolved GEOT-3706 Layer.setVisible should fire an event Closed Fixed GEOT-3705 Add selected flag and methods to Layer class Closed Fixed GEOT-3702 Add optional aspect ratio correction to MapViewport Closed Fixed GEOT-3701 JMapPane.getDisplayArea can cause NPE Closed Fixed GEOT-3700 Layer fires incorrect event type for selection change Closed Fixed GEOT-3699 JMapPane can fail to create base image Closed Fixed GEOT-3698 JMapPane can fail to update the map layer table Closed Fixed GEOT-3697 NPE in MapContent.listenToMapLayers method Closed Fixed GEOT-3695 MapViewport should initialize screenArea to empty rectangle Closed Fixed GEOT-3694 Store AffineTransforms in MapViewport Closed Fixed GEOT-3693 MapContent.getMaxBounds method should be public Closed Fixed GEOT-3630 GEOT-3565 MapViewport handling of AffineTransform and ScreenArea Closed Fixed GEOT-3563 JMapPane and example apps should use MapContent rather than MapContext In Progress Unresolved GEOT-3088 make RenderingExecutor more flexible Closed Duplicate GEOT-3015 JMapPane resets to "zoom all" when resizing window Closed Fixed GEOT-2920 JMapPane: Labels not displayed when a layer is hidden then shown Open Unresolved GEOT-2862 JMapPane and MapLayerTable problems Closed Fixed GEOT-2818 JMapPane should calculate affine transforms before it is first displayed if size and map context are initialized Closed Fixed ------------------------------------------------------------------------------ 10 Tips for Better Web Security Learn 10 ways to better secure your business today. Topics covered include: Web security, SSL, hacker attacks & Denial of Service (DoS), private keys, security Microsoft Exchange, secure Instant Messaging, and much more. http://www.accelacomm.com/jaw/sfnl/114/51426210/ _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
