• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to retrieve values from a JFormattedTextField without the mask?

 
Jacky Luk
Ranch Hand
Posts: 634
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I tried
ftf.getText().trim()
and
ftf.getValue()

Both returns the hythen which I used for masking mobile
phone numbers?
Thanks
Jack
 
Claude Moore
Ranch Hand
Posts: 832
7
IBM DB2 Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you post your code ? getValue method should work.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!