|
|
|
@ -255,6 +255,9 @@ public class FormatPane extends AbstractBasicStylePane implements GlobalNameObse
|
|
|
|
|
} else if (pattern.indexOf("%") > 0) { |
|
|
|
|
setPatternComboBoxAndList(FormatContents.PERCENT, pattern); |
|
|
|
|
this.roundingBox.setSelected(((CoreDecimalFormat) format).getRoundingMode().equals(RoundingMode.HALF_UP)); |
|
|
|
|
} else if (pattern.indexOf("‰") > 0) { |
|
|
|
|
setPatternComboBoxAndList(FormatContents.THOUSANDTHS, pattern); |
|
|
|
|
this.roundingBox.setSelected(((CoreDecimalFormat) format).getRoundingMode().equals(RoundingMode.HALF_UP)); |
|
|
|
|
} else if (pattern.indexOf("E") > 0) { |
|
|
|
|
setPatternComboBoxAndList(FormatContents.SCIENTIFIC, pattern); |
|
|
|
|
} else { |
|
|
|
|