Excellent - thanks Johann.

I had searched the code with grep jstreamnavmap and hadn't thought to
grep for a subclass (duh !)

cheers
Michael

2008/8/4 johann wrote:
>
> You can find a demo on svn :
> http://svn.geotools.org/trunk/demo/example/src/main/java/org/geotools/demo/widgets/StreamWidgetsDemo.java
>
> For the use of decorations I dont have any but it's  not a hard thing.
> A decoration is basicly a swing component who will be added on top of the
> map, a bit like a layeredpane.
> The only thing you have to do is override the paint method of your
> decoration and paint what you wish.
>
> Here is snapshot of what did anaxa :
> It's a decoration to show up more informations about some plots.
> http://img218.imageshack.us/img218/1112/infossiteszn5.jpg
>
> The trick is to listen to the map widget and use the methods toMapCoord and
> toComponentCoord to know exactly where you must paint on the decoration.
>
> I hope this helps.
>

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geotools-gt2-users mailing list
Geotools-gt2-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to