/[schmitzm]/branches/2.4.x/src/skrueger/geotools/RenderingExecutor.java
ViewVC logotype

Diff of /branches/2.4.x/src/skrueger/geotools/RenderingExecutor.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

branches/1.0-gt2-2.6/src/skrueger/geotools/RenderingExecutor.java revision 555 by alfonx, Tue Nov 24 09:17:22 2009 UTC branches/2.0-RC1/src/skrueger/geotools/RenderingExecutor.java revision 607 by alfonx, Wed Dec 9 15:13:42 2009 UTC
# Line 121  class RenderingExecutor { Line 121  class RenderingExecutor {
121    
122                  @Override                  @Override
123                  public void run() {                  public void run() {
124                            long startT = System.currentTimeMillis();
125                          try {                          try {
126                                  renderer.addRenderListener(this);                                  renderer.addRenderListener(this);
127                                  LOGGER.debug("start rendering...");  //                              LOGGER.debug("start rendering...");
128    
129                                  // Clear the graphics context                                  // Clear the graphics context
130                                  graphics.setBackground(mapPane.getMapBackgroundColor());                                  graphics.setBackground(mapPane.getMapBackgroundColor());
# Line 135  class RenderingExecutor { Line 136  class RenderingExecutor {
136                                  // Kill the reference to this Thread so #isRunning will say                                  // Kill the reference to this Thread so #isRunning will say
137                                  // false directly                                  // false directly
138                                  renderThread = null;                                  renderThread = null;
139                                  mapPane.onRenderingCompleted();                                  mapPane.onRenderingCompleted(System.currentTimeMillis()-startT);
140                          } catch (Exception e) {                          } catch (Exception e) {
141                                  mapPane.onRenderingFailed(e);                                  mapPane.onRenderingFailed(e);
142                          } finally {                          } finally {

Legend:
Removed from v.555  
changed lines
  Added in v.607

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26