Changeset 32008 in osm for applications/viewer
- Timestamp:
- 2016-01-20T00:07:45+01:00 (9 years ago)
- Location:
- applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer/Demo.java
r31435 r32008 63 63 setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); 64 64 setExtendedState(JFrame.MAXIMIZED_BOTH); 65 JPanel panel = new JPanel(); 65 JPanel panel = new JPanel(new BorderLayout()); 66 66 JPanel panelTop = new JPanel(); 67 67 JPanel panelBottom = new JPanel(); … … 76 76 add(panel, BorderLayout.NORTH); 77 77 add(helpPanel, BorderLayout.SOUTH); 78 panel.setLayout(new BorderLayout());79 78 panel.add(panelTop, BorderLayout.NORTH); 80 79 panel.add(panelBottom, BorderLayout.SOUTH); -
applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer/JMapViewerTree.java
r31780 r32008 44 44 45 45 tree = new CheckBoxTree(name); 46 treePanel = new JPanel(); 47 treePanel.setLayout(new BorderLayout()); 46 treePanel = new JPanel(new BorderLayout()); 48 47 treePanel.add(tree, BorderLayout.CENTER); 49 48 treePanel.add(new JLabel("<html><center>Use right mouse button to<br />show/hide texts</center></html>"), BorderLayout.SOUTH);
Note:
See TracChangeset
for help on using the changeset viewer.