BasicFinder finder = new BasicFinder();
Matcher m = new FieldMatcher();
JFormattedTextField f = null;
try {
f = (JFormattedTextField) finder.find( c, m );
} catch (ComponentNotFoundException ex) {
ex.printStackTrace();
} catch (MultipleComponentsFoundException ex) {
ex.printStackTrace();
}