Yes; a couple of ways. - Draw the image as geotools is drawing into it... this is what uDig does. - Get a volatile image and use that to draw into. It is tricky Java 2D programming (because you need to redraw if windows are moved in front of your image) but it is effective.
Jody On 07/05/2010, at 12:26 AM, LSA wrote: > As far as I know, default geotools drawing mode is to draw on offline > buffer and then render this buffer to the screen. On the opposing side, > OpenJump (for example) draws everythink it can draw immediately. > This give user the feeling of more responsive interface, because hey - > something is going on my screen. So if one will draw streets dataset > he/she will notice how streets are being rendered one by one. > > Is it possible to do something similar for the geotools, I mean to draw > every feature obtained for drawing immediately to user, not to offscreen > buffer? > > Thanks in advance! > > ------------------------------------------------------------------------------ > _______________________________________________ > Geotools-gt2-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users ------------------------------------------------------------------------------ _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
