/[schmitzm]/trunk/src/skrueger/geotools/MapPaneToolBar.java
ViewVC logotype

Diff of /trunk/src/skrueger/geotools/MapPaneToolBar.java

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

revision 152 by alfonx, Fri Jun 19 18:13:35 2009 UTC revision 160 by alfonx, Mon Jun 22 17:15:45 2009 UTC
# Line 276  public class MapPaneToolBar extends JToo Line 276  public class MapPaneToolBar extends JToo
276                  for (JComponent b : toolAndActionButtons.values())                  for (JComponent b : toolAndActionButtons.values())
277                          add(b);                          add(b);
278    
                 repaint();  
   
279                  if (!toolAndActionButtons.containsKey(selectedTool)) {                  if (!toolAndActionButtons.containsKey(selectedTool)) {
280                          /**                          /**
281                           * This might be a bit specific, but IF selection buttons are                           * This might be a bit specific, but IF selection buttons are
# Line 294  public class MapPaneToolBar extends JToo Line 292  public class MapPaneToolBar extends JToo
292                          }                          }
293    
294                  }                  }
295                    
296                    revalidate();
297          }          }
298    
299          // Space between tool buttons and action buttons          // Space between tool buttons and action buttons

Legend:
Removed from v.152  
changed lines
  Added in v.160

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26