Changeset 7896 in josm for trunk/src/org/openstreetmap/josm/gui/dialogs/MapPaintDialog.java
- Timestamp:
- 2014-12-27T05:25:53+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/MapPaintDialog.java
r7668 r7896 73 73 import org.openstreetmap.josm.gui.preferences.map.MapPaintPreference; 74 74 import org.openstreetmap.josm.gui.util.FileFilterAllFiles; 75 import org.openstreetmap.josm.gui.util.GuiHelper; 75 76 import org.openstreetmap.josm.gui.widgets.AbstractFileChooser; 76 77 import org.openstreetmap.josm.gui.widgets.FileChooserManager; … … 615 616 private void buildSourcePanel(StyleSource s, JPanel p) { 616 617 JosmTextArea txtSource = new JosmTextArea(); 617 txtSource.setFont( new Font("Monospaced", txtSource.getFont().getStyle(), txtSource.getFont().getSize()));618 txtSource.setFont(GuiHelper.getMonospacedFont(txtSource)); 618 619 txtSource.setEditable(false); 619 620 p.add(new JScrollPane(txtSource), GBC.std().fill()); … … 636 637 private void buildErrorsPanel(StyleSource s, JPanel p) { 637 638 JosmTextArea txtErrors = new JosmTextArea(); 638 txtErrors.setFont( new Font("Monospaced", txtErrors.getFont().getStyle(), txtErrors.getFont().getSize()));639 txtErrors.setFont(GuiHelper.getMonospacedFont(txtErrors)); 639 640 txtErrors.setEditable(false); 640 641 p.add(new JScrollPane(txtErrors), GBC.std().fill());
Note:
See TracChangeset
for help on using the changeset viewer.