/[schmitzm]/branches/2.3.KECK/src/skrueger/geotools/RenderingExecutor.java
ViewVC logotype

Diff of /branches/2.3.KECK/src/skrueger/geotools/RenderingExecutor.java

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

revision 604 by alfonx, Wed Dec 9 14:15:53 2009 UTC 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.604  
changed lines
  Added in v.607

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26