- Timestamp:
- 2015-12-02T21:41:41+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/imagery/WMTSTileSource.java
r9069 r9081 4 4 import static org.openstreetmap.josm.tools.I18n.tr; 5 5 6 import java.awt.Dimension;7 6 import java.awt.GridBagLayout; 8 7 import java.awt.Point; … … 25 24 26 25 import javax.swing.JPanel; 26 import javax.swing.JScrollPane; 27 27 import javax.swing.JTable; 28 28 import javax.swing.ListSelectionModel; … … 200 200 } 201 201 }); 202 this.list.setPreferredSize(new Dimension(400, 400));203 202 this.list.setSelectionMode(ListSelectionModel.SINGLE_SELECTION); 204 203 this.list.setRowSelectionAllowed(true); 205 204 this.list.setColumnSelectionAllowed(false); 206 205 JPanel panel = new JPanel(new GridBagLayout()); 207 panel.add( this.list, GBC.eol().fill());206 panel.add(new JScrollPane(this.list), GBC.eol().fill()); 208 207 setContent(panel); 209 208 }
Note:
See TracChangeset
for help on using the changeset viewer.