How to make an InputMask that don't accept blank field
<p>I have a mask that accepts only numbers, but how can I make that if I don't input in that JTextField he would give a message that the TextField is empty. Technically field is not empty, it has the mask. But how can I get that message?</p>

<pre><code>try {
   MaskFormatter mf1 = new MaskFormatter("###,##");
   mf1.setPlaceHolderCharacter('_');
   JFormattedTextField ftf = new JForamttedTextField(mf1);
//.....
} catch(Exception e) {
}
//...
if(ftf.getText().equals(null) || ftf.getText().equals("") {
 //...
</code></pre>
