Ignore:
Timestamp:
2009-09-29T20:58:33+02:00 (15 years ago)
Author:
rcernoch
Message:

CzechAddress: Problems with "duplicity" label solved.

Location:
applications/editors/josm/plugins/czechaddress/src/org/openstreetmap/josm/plugins/czechaddress/gui
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/czechaddress/src/org/openstreetmap/josm/plugins/czechaddress/gui/PointManipulatorDialog.form

    r17603 r17857  
    151151        <Component class="javax.swing.JLabel" name="statusLabel">
    152152          <Properties>
     153            <Property name="foreground" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor">
     154              <Color blue="1" green="1" red="b0" type="rgb"/>
     155            </Property>
    153156            <Property name="text" type="java.lang.String" value=" "/>
    154157          </Properties>
  • applications/editors/josm/plugins/czechaddress/src/org/openstreetmap/josm/plugins/czechaddress/gui/PointManipulatorDialog.java

    r17603 r17857  
    242242        jLabel6.setText("Zaznam v databazi:");
    243243
     244        statusLabel.setForeground(new java.awt.Color(176, 1, 1));
    244245        statusLabel.setText(" ");
    245246
     
    280281                    .addComponent(matchesComboBox, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
    281282                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
    282                 .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 161, Short.MAX_VALUE)
     283                .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 153, Short.MAX_VALUE)
    283284                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
    284285                .addComponent(statusLabel))
     
    359360            if (matches == null) return;
    360361            selected = (AddressElement) anItem;
    361             if (Reasoner.getInstance().translate(selected) != proposalContainer.getTarget())
     362            if (Reasoner.getInstance().translate(selected) != null)
    362363                statusLabel.setText("Vybraná adresa už v mapě existuje."+
    363364                                    " Potvrzením vznikne konflikt.");
Note: See TracChangeset for help on using the changeset viewer.