|
|
@ -44,11 +44,11 @@ public class UnitFieldPane extends JPanel { |
|
|
|
|
|
|
|
|
|
|
|
public void setUnitType(int unitType) { |
|
|
|
public void setUnitType(int unitType) { |
|
|
|
if (unitType == Constants.UNIT_CM) { |
|
|
|
if (unitType == Constants.UNIT_CM) { |
|
|
|
this.setText(Inter.getLocText("Unit_CM")); |
|
|
|
this.setText(Inter.getLocText("FR-Designer_Unit_CM")); |
|
|
|
} else if (unitType == Constants.UNIT_INCH) { |
|
|
|
} else if (unitType == Constants.UNIT_INCH) { |
|
|
|
this.setText(Inter.getLocText("PageSetup-inches")); |
|
|
|
this.setText(Inter.getLocText("FR-Designer_Unit_INCH")); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
this.setText(Inter.getLocText("PageSetup-mm")); |
|
|
|
this.setText(Inter.getLocText("FR-Designer_Unit_MM-mm")); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
//ajust the heigt of unitLabel.
|
|
|
|
//ajust the heigt of unitLabel.
|
|
|
|