Skip to content

Commit

Permalink
fixed unicode
Browse files Browse the repository at this point in the history
  • Loading branch information
stoecker committed Sep 3, 2008
1 parent 1e09cbc commit 0ba7e9c
Showing 1 changed file with 6 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,14 +89,14 @@ public MeasurementDialog()

valuePanel.add(new JLabel(tr("Selection Area")));

selectAreaLabel = new JLabel("0 m\uc2b2");
selectAreaLabel = new JLabel("0 m\u00b2");
valuePanel.add(selectAreaLabel);

JLabel angle = new JLabel(tr("Angle"));
angle.setToolTipText(tr("Angle between two selected Nodes"));
valuePanel.add(angle);

segAngleLabel = new JLabel("- \uc2b0");
segAngleLabel = new JLabel("- \u00b0");
valuePanel.add(segAngleLabel);

add(valuePanel, BorderLayout.CENTER);
Expand Down Expand Up @@ -143,13 +143,11 @@ public void selectionChanged(Collection<? extends OsmPrimitive> arg0) {
}
dlg.selectLengthLabel.setText(new DecimalFormat("#0.00").format(length) + " m");

dlg.segAngleLabel.setText(new DecimalFormat("#0.0").format(segAngle) + " \uc2b0");
dlg.selectAreaLabel.setText(new DecimalFormat("#0.00").format(area) + " m\uc2b2");

dlg.segAngleLabel.setText(new DecimalFormat("#0.0").format(segAngle) + " \u00b0");
dlg.selectAreaLabel.setText(new DecimalFormat("#0.00").format(area) + " m\u00b2");
}

});
}
});
}

public void actionPerformed(ActionEvent e)
{
Expand Down

0 comments on commit 0ba7e9c

Please sign in to comment.