By intention, when the JMapPane is resized, the contents of the pane do not change . So, as the application window gets narrower, content from the right-hand side is trimmed off.
An alternate GIS visualisation standard is to zoom the contents of the window to ensure the same mapping area is covered as the application size changes - see the video at .
Is there a simple setting that will force the second behaviour in GeoTool JMapPane ? Or, do I need to handle component resized, retrieve the previous data area, and force the map to display that area again?