Changeset 35106 in osm
- Timestamp:
- 2019-09-02T20:40:52+02:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/cadastre-fr/src/org/openstreetmap/josm/plugins/fr/cadastre/download/CadastreDownloadSourcePanel.java
r34099 r35106 2 2 package org.openstreetmap.josm.plugins.fr.cadastre.download; 3 3 4 import static org.openstreetmap.josm.tools.I18n.marktr; 4 5 import static org.openstreetmap.josm.tools.I18n.tr; 5 6 … … 18 19 import org.openstreetmap.josm.data.Bounds; 19 20 import org.openstreetmap.josm.data.preferences.BooleanProperty; 21 import org.openstreetmap.josm.data.preferences.NamedColorProperty; 20 22 import org.openstreetmap.josm.gui.download.AbstractDownloadSourcePanel; 21 23 import org.openstreetmap.josm.gui.download.DownloadDialog; … … 33 35 */ 34 36 public static final String SIMPLE_NAME = "cadastredownloadpanel"; 37 38 /** 39 * The color that is used for background painting. 40 */ 41 public static final NamedColorProperty BG_COLOR = new NamedColorProperty(marktr("cadastre download panel"), new Color(255, 204, 51)); 35 42 36 43 private final JCheckBox cbDownloadBuilding; … … 57 64 private static JCheckBox createCheckBox(String text, BooleanProperty property, String tooltip) { 58 65 JCheckBox cb = new JCheckBox(text, property.get()); 66 cb.setOpaque(false); 59 67 cb.setToolTipText(tooltip); 60 68 return cb; … … 67 75 public CadastreDownloadSourcePanel(CadastreDownloadSource ds) { 68 76 super(ds); 77 setBackground(BG_COLOR.get()); 69 78 setLayout(new GridBagLayout()); 70 79
Note:
See TracChangeset
for help on using the changeset viewer.