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:

enter image description here

how can that?


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -