I feel like I'm in a maze with no exit... :] I've been going through OJ's rendering code for an hour or two. I was hoping to find out some more about our double call to BasicStyle.paint().
I don't think I'm going to get as near as far as I had hoped, although I am throwing together some notes about the rendering system I'll try to get on the wiki. There is one thing I haven't been able to figure out. At what point, and how, does OpenJUMP associate a Renderer with a Layer? I've looked at the the RenderingMananger class, the LayerManager class, the LayerViewPanel class, the FeatureCollectionRenderer class, and a bunch of other classes, but I can't determine where this takes place. At some point after a Layer is created, but before or at the moment it is made visible, OJ needs to decide which Renderer will paint the Layer's contents on the LayerViewPanel. Where is this done? Does each Renderer track what Layers it needs to paint, or is this done by the RendererMananger? Thanks for the help. The Sunburned Surveyor ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Jump-pilot-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
