Ignore:
Timestamp:
2006-07-26T22:14:05+02:00 (18 years ago)
Author:
imi
Message:
  • fixed combo box display in annotation preset tester
  • fixed NPE in GeoImageLayer
Location:
src/org/openstreetmap/josm/gui/annotation
Files:
2 added
2 moved

Legend:

Unmodified
Added
Removed
  • src/org/openstreetmap/josm/gui/annotation/AnnotationPreset.java

    r126 r129  
    1 package org.openstreetmap.josm.gui.dialogs;
     1package org.openstreetmap.josm.gui.annotation;
    22
    33import static org.openstreetmap.josm.tools.I18n.tr;
     
    203203        private List<Item> data;
    204204        public String name;
    205         Collection<Class<?>> types;
     205        public Collection<Class<?>> types;
    206206
    207207        public AnnotationPreset(List<Item> data, String name, Collection<Class<?>> currentTypes) {
  • src/org/openstreetmap/josm/gui/annotation/AnnotationTester.java

    r125 r129  
    1 package org.openstreetmap.josm.gui.dialogs;
     1package org.openstreetmap.josm.gui.annotation;
    22
    33import java.awt.BorderLayout;
     
    7373                this.args = args;
    7474                annotationPresets = new JComboBox();
     75                annotationPresets.setRenderer(new AnnotationCellRenderer());
    7576                reload();
    7677
Note: See TracChangeset for help on using the changeset viewer.