>> I'm aware of uDig, but I don't need a full geospatial framework - my
>> application contains most of the GIS capabilities I require, I just
>> want the SWT equivalent of the Swing JMapPane in order to use the
>> GeoTools renderer.

The Geotools Swing components are pretty straightforward to embed in SWT:

embedded = new Composite(parent, SWT.EMBEDDED | SWT.NO_BACKGROUND);
Frame frame = SWT_AWT.new_Frame(embedded);
mapPane = new JMapPane(new StreamingRenderer(), mapContext);
frame.add(mapPane);

On a side note: I have done some low-level rendering on SWT (not for
GIS) some time ago and I was a bit disappointed by the performance.
Paradoxically, Swing seems to be closer from the operating system...

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to