java - JFormattedTextField unusual format -
i formatting text field this:
bidfield = new jformattedtextfield(); decimalformat d = new decimalformat("0.00"); int dp = 5; d.setminimumfractiondigits(dp); numberformatter dnff = new numberformatter(d); defaultformatterfactory factory = new defaultformatterfactory(dnff); bidfield.setformatterfactory(factory);
but make part or last 2 digits bold or diff color bit like:
how can that?
Comments
Post a Comment