Hi,
Hello michael,
Thank you,
ok i'll try to put the search result in the active selection.
but i don't know how.
I already gave you a few lines of code which does exactly that.
Concerning the ColorTherming, i tried to paint my feature like this :
but it didn't work:

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; / this i don't know how to use it and instanciate it paintGeometryCollection(selectedGeometry(), graphics, viewport, true, stroke,fillPaint, true, stroke, color);

Hard to say what is wrong without having the whole class.
Any reason to create a new Viewport ? I would say that you'd
better use the existing viewport of the layerView :
viewport = context.getLayerViewPanel().getViewport();

Michaël


@ Rahkonen,
Sorry but i didn't get what you mean by write R_G_B into basic Style :s
--
*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 <mailto: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

------------------------------------------------------------------------------
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