Monday, 9 September 2013

getting format of JFormatTextField

getting format of JFormatTextField

pI've several text fields with certain formats: percent format, date
format, etc:/p precode DateFormat dfm= new SimpleDateFormat(yyyy-MM-dd);
textField = new JFormattedTextField(dfm); /code/pre pLater I want to check
what format is being used in a textField. I have checked if there is a
method codetextField.getFormat()/code or similar. Didn't see anything
relevant. Is there a way to know this?/p

No comments:

Post a Comment