Changeset 17733 in josm
- Timestamp:
- 2021-04-09T21:22:59+02:00 (4 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 16 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/PurgeAction.java
r14397 r17733 135 135 "They will be removed from the layer, but <i>not</i> deleted<br> " + 136 136 "on the server when uploading.")+"</html>", 137 ImageProvider.get("purge"), JLabel.LE FT), GBC.eol().fill(GBC.HORIZONTAL));137 ImageProvider.get("purge"), JLabel.LEADING), GBC.eol().fill(GBC.HORIZONTAL)); 138 138 139 139 if (!toPurgeAdditionally.isEmpty()) { … … 142 142 tr("The following dependent objects will be purged<br> " + 143 143 "in addition to the selected objects:")+"</html>", 144 ImageProvider.get("warning-small"), JLabel.LE FT), GBC.eol().fill(GBC.HORIZONTAL));144 ImageProvider.get("warning-small"), JLabel.LEADING), GBC.eol().fill(GBC.HORIZONTAL)); 145 145 146 146 toPurgeAdditionally.sort((o1, o2) -> { … … 177 177 pnl.add(new JLabel("<html>"+tr("Some of the objects are modified.<br> " + 178 178 "Proceed, if these changes should be discarded."+"</html>"), 179 ImageProvider.get("warning-small"), JLabel.LE FT),179 ImageProvider.get("warning-small"), JLabel.LEADING), 180 180 GBC.eol().fill(GBC.HORIZONTAL)); 181 181 } -
trunk/src/org/openstreetmap/josm/actions/SessionSaveAsAction.java
r16509 r17733 271 271 JCheckBox include = new JCheckBox(); 272 272 include.setEnabled(false); 273 JLabel lbl = new JLabel(layer.getName(), layer.getIcon(), SwingConstants.LE FT);273 JLabel lbl = new JLabel(layer.getName(), layer.getIcon(), SwingConstants.LEADING); 274 274 lbl.setToolTipText(tr("No exporter for this layer")); 275 275 lbl.setLabelFor(include); -
trunk/src/org/openstreetmap/josm/actions/corrector/TagCorrector.java
r17707 r17733 108 108 primitive.getDisplayName(DefaultNameFormatter.getInstance()) + ':', 109 109 ImageProvider.get(primitive.getDisplayType()), 110 JLabel.LE FT110 JLabel.LEADING 111 111 ); 112 112 p.add(primitiveLabel, GBC.eol()); … … 134 134 primitive.getDisplayName(DefaultNameFormatter.getInstance()), 135 135 ImageProvider.get(primitive.getDisplayType()), 136 JLabel.LE FT136 JLabel.LEADING 137 137 ); 138 138 p.add(primitiveLabel, GBC.eol()); -
trunk/src/org/openstreetmap/josm/gui/MapStatus.java
r17666 r17733 363 363 JLabel.HORIZONTAL 364 364 ); 365 lbl.setHorizontalAlignment(JLabel.LE FT);365 lbl.setHorizontalAlignment(JLabel.LEADING); 366 366 c.add(lbl, GBC.eol().insets(2, 0, 2, 0)); 367 367 … … 662 662 l.setFont(l.getFont().deriveFont(Font.PLAIN)); 663 663 l.setVerticalTextPosition(JLabel.TOP); 664 l.setHorizontalAlignment(JLabel.LE FT);664 l.setHorizontalAlignment(JLabel.LEADING); 665 665 l.setCursor(Cursor.getPredefinedCursor(Cursor.HAND_CURSOR)); 666 666 l.addMouseListener(new MouseAdapter() { -
trunk/src/org/openstreetmap/josm/gui/history/NodeListTableCellRenderer.java
r17518 r17733 57 57 } 58 58 setText(text); 59 setHorizontalAlignment(LE FT);59 setHorizontalAlignment(LEADING); 60 60 } 61 61 -
trunk/src/org/openstreetmap/josm/gui/history/RelationMemberListTableCellRenderer.java
r16490 r17733 49 49 setText(text); 50 50 setToolTipText(text); 51 setHorizontalAlignment(LE FT);51 setHorizontalAlignment(LEADING); 52 52 renderIcon(null); 53 53 } … … 66 66 setText(text); 67 67 setToolTipText(text); 68 setHorizontalAlignment(LE FT);68 setHorizontalAlignment(LEADING); 69 69 renderIcon((RelationMemberData) diffItem.value); 70 70 } -
trunk/src/org/openstreetmap/josm/gui/history/VersionTable.java
r17333 r17733 339 339 340 340 AlignedRenderer() { 341 this(SwingConstants.LE FT);341 this(SwingConstants.LEADING); 342 342 } 343 343 -
trunk/src/org/openstreetmap/josm/gui/io/SaveLayersDialog.java
r16267 r17733 263 263 gc.weighty = 0.0; 264 264 add(lblMessage, gc); 265 lblMessage.setHorizontalAlignment(JLabel.LE FT);265 lblMessage.setHorizontalAlignment(JLabel.LEADING); 266 266 lstLayers.setCellRenderer(new LayerCellRenderer()); 267 267 gc.gridx = 0; -
trunk/src/org/openstreetmap/josm/gui/layer/geoimage/ImageViewerDialog.java
r17715 r17733 328 328 + "<p>" + trn("The image file will be permanently lost!", 329 329 "The images files will be permanently lost!", size) + "</h3></html>", 330 ImageProvider.get("dialogs/geoimage/deletefromdisk"), SwingConstants.LE FT))330 ImageProvider.get("dialogs/geoimage/deletefromdisk"), SwingConstants.LEADING)) 331 331 .toggleEnable("geoimage.deleteimagefromdisk") 332 332 .setCancelButton(1) -
trunk/src/org/openstreetmap/josm/gui/preferences/PreferenceTabbedPane.java
r17482 r17733 463 463 */ 464 464 public PreferenceTabbedPane() { 465 super(SwingConstants.LE FT, JTabbedPane.SCROLL_TAB_LAYOUT);465 super(SwingConstants.LEADING, JTabbedPane.SCROLL_TAB_LAYOUT); 466 466 super.addMouseWheelListener(new WheelListener(this)); 467 467 ExpertToggleAction.addExpertModeChangeListener(this); -
trunk/src/org/openstreetmap/josm/gui/preferences/plugin/PluginListPanel.java
r16913 r17733 134 134 pluginText, 135 135 pi.getScaledIcon(), 136 SwingConstants.LE FT);136 SwingConstants.LEADING); 137 137 lblPlugin.addMouseListener(new PluginCheckBoxMouseAdapter(cbPlugin)); 138 138 -
trunk/src/org/openstreetmap/josm/gui/preferences/shortcut/PrefJPanel.java
r16960 r17733 236 236 shortcutEditPane.add(cbDisable); 237 237 shortcutEditPane.add(cbCtrl); 238 shortcutEditPane.add(new JLabel(tr("Key:"), SwingConstants.LE FT));238 shortcutEditPane.add(new JLabel(tr("Key:"), SwingConstants.LEADING)); 239 239 shortcutEditPane.add(cbAlt); 240 240 shortcutEditPane.add(tfKey); -
trunk/src/org/openstreetmap/josm/io/session/GenericSessionExporter.java
r15496 r17733 96 96 JPanel topRow = new JPanel(new GridBagLayout()); 97 97 export.setSelected(true); 98 final JLabel lbl = new JLabel(layer.getName(), layer.getIcon(), SwingConstants.LE FT);98 final JLabel lbl = new JLabel(layer.getName(), layer.getIcon(), SwingConstants.LEADING); 99 99 lbl.setToolTipText(layer.getToolTipText()); 100 100 lbl.setLabelFor(export); -
trunk/src/org/openstreetmap/josm/io/session/GeoImageSessionExporter.java
r17715 r17733 45 45 final JPanel p = new JPanel(new GridBagLayout()); 46 46 export.setSelected(true); 47 final JLabel lbl = new JLabel(layer.getName(), layer.getIcon(), SwingConstants.LE FT);47 final JLabel lbl = new JLabel(layer.getName(), layer.getIcon(), SwingConstants.LEADING); 48 48 lbl.setToolTipText(layer.getToolTipText()); 49 49 lbl.setLabelFor(export); -
trunk/src/org/openstreetmap/josm/io/session/ImagerySessionExporter.java
r12851 r17733 69 69 final JPanel p = new JPanel(new GridBagLayout()); 70 70 export.setSelected(true); 71 final JLabel lbl = new JLabel(layer.getName(), layer.getIcon(), SwingConstants.LE FT);71 final JLabel lbl = new JLabel(layer.getName(), layer.getIcon(), SwingConstants.LEADING); 72 72 lbl.setToolTipText(layer.getToolTipText()); 73 73 lbl.setLabelFor(export); -
trunk/src/org/openstreetmap/josm/io/session/MarkerSessionExporter.java
r12636 r17733 53 53 final JPanel p = new JPanel(new GridBagLayout()); 54 54 export.setSelected(true); 55 final JLabel lbl = new JLabel(layer.getName(), layer.getIcon(), SwingConstants.LE FT);55 final JLabel lbl = new JLabel(layer.getName(), layer.getIcon(), SwingConstants.LEADING); 56 56 lbl.setToolTipText(layer.getToolTipText()); 57 57 lbl.setLabelFor(export);
Note:
See TracChangeset
for help on using the changeset viewer.