hi michael,
i followed the class u told me, i found that it uses the paint method too
from StyleUtil.

i tried this but it did nothing to the feature:
another thing is i don't know how instanciate paint  ( with what)


Color color = Color.yellow;
Stroke stroke =new
BasicStroke(5,BasicStroke.CAP_ROUND,BasicStroke.JOIN_ROUND);
final Graphics2D graphics = (Graphics2D)
context.getLayerViewPanel().getGraphics();

Viewport viewport = new Viewport(context.getLayerViewPanel());
Paint fillPaint = null;

paintGeometryCollection(selectedGeometry(),
        graphics, viewport, true,
        stroke,fillPaint, true,
        stroke, color);


the selectedGeometry() is this :

public GeometryCollection selectedGeometry() {
 GeometryCollection geometry;
 geometry = (GeometryCollection) search().getGeometry();
 return geometry;
    }

thanks in advance



-- 
*Asma OUQALLI*

Élève ingénieur : 3ème  Sciences d'Information Géographique (SIG).
Chef de commission développement professionnel  - Rotaract EHTP.
Chef de cellule Media - Olympiades EHTP 2012.
  Ecole Hassania des Travaux Publics.
   Mobile : +212 672 48 23 15.
   Email : asma.ouqa...@gmail.com
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to