Two ways:
- make a graphics 2d around SWT (you can find open source projects that 
do this)
- make a SWT Image (with say ARGB order) and then wrap a BufferedImage 
around the raw bytes, ask the BufferedImage for a Graphics2d for the 
geotools renderer to use and are are done...

Note we have the geotools renderer working though the graphcis2d api 
trageting:
- SVG via Batik
- PDF via IText
- SWT via the tricks shown above
- Java3d via the same trick this time with a raster used as a texture on 
a polygon
- Printing via Java2d api

Cheers,
Jody

> hi,
> i still the problem of incompatibility between swing and swt. Any idea of
> about to use geotools's components   with geotools
> thanks 
>   


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to