Hi Jairo, You are calling repaint() from within the paintComponent method of your sub-class - I think that could result in an infinite loop in the event dispatch thread and might be the cause of the incomplete renderings.
Michael On 4 December 2012 22:22, Jairo de Almeida <jairodealme...@gmail.com> wrote: > Hi group, I'm making a grid layer to overlap my polygon (each block), but i > have problem to rendering the map canvas, > i'm using a Child of JMapPane to drawing http://pastebin.com/dxSnu8nw > and not works fine, my impression is that the panel does not finish drawing > the map. > follows the image of the drawing, This is a first render working fine > http://s9.postimage.org/lfum3iswv/geotools_imagem1.png , > and this is a second grid create > http://s11.postimage.org/6jz8zzsg3/geotools_image2.png , > in this time don't have renderer all the map objects, > This error don't shows a exception trace in console, is possible identify > him ? > Thanks, Jairo. > > ------------------------------------------------------------------------------ > LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial > Remotely access PCs and mobile devices and provide instant support > Improve your efficiency, and focus on delivering more value-add services > Discover what IT Professionals Know. Rescue delivers > http://p.sf.net/sfu/logmein_12329d2d > _______________________________________________ > GeoTools-GT2-Users mailing list > GeoTools-GT2-Users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users > ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ GeoTools-GT2-Users mailing list GeoTools-GT2-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users