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

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

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

revision 111 by alfonx, Tue May 12 23:33:14 2009 UTC revision 148 by alfonx, Thu Jun 18 16:31:56 2009 UTC
# Line 26  import schmitzm.geotools.styling.ColorMa Line 26  import schmitzm.geotools.styling.ColorMa
26  public class MapView extends JPanel {  public class MapView extends JPanel {
27          private static final Logger LOGGER = Logger.getLogger(MapView.class);          private static final Logger LOGGER = Logger.getLogger(MapView.class);
28    
29          private final JSplitPane splitPane = new JSplitPane(          public final JSplitPane splitPane = new JSplitPane(
30                          JSplitPane.HORIZONTAL_SPLIT);                          JSplitPane.HORIZONTAL_SPLIT);
31    
32          protected MapPaneStatusBar statusBar = null;          protected MapPaneStatusBar statusBar = null;
# Line 80  public class MapView extends JPanel { Line 80  public class MapView extends JPanel {
80                                  5, 2, 5)));                                  5, 2, 5)));
81                  this.add(statusBar, BorderLayout.SOUTH);                  this.add(statusBar, BorderLayout.SOUTH);
82    
83                  splitPane.setDividerLocation(0.4);                  splitPane.setDividerLocation(-1);
84                  splitPane.setDividerSize(5);                  splitPane.setDividerSize(5);
85                    
86                    splitPane.setResizeWeight(0.0);
87    
88                  splitPane.add(getSidePane());                  splitPane.add(getSidePane());
89    
# Line 93  public class MapView extends JPanel { Line 95  public class MapView extends JPanel {
95                  newRight.add(getToolBar(), BorderLayout.NORTH);                  newRight.add(getToolBar(), BorderLayout.NORTH);
96                  newRight.add(getGeoMapPane(), BorderLayout.CENTER);                  newRight.add(getGeoMapPane(), BorderLayout.CENTER);
97                  splitPane.add(newRight);                  splitPane.add(newRight);
98                    
99                    
100    
101                  this.add(splitPane, BorderLayout.CENTER);                  this.add(splitPane, BorderLayout.CENTER);
102          }          }

Legend:
Removed from v.111  
changed lines
  Added in v.148

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26