Results 1 to 5 of 5
- 04-13-2011, 08:43 PM #1
Member
- Join Date
- Apr 2011
- Posts
- 2
- Rep Power
- 0
Combine JFormattedTextField with JPassword functionality?
Seem to be doing a LOT of work trying to extend JFormattedTextField to add JPassword-like functionality.....
Anyone ever do this before?
Any thoughts on a simple approach? My particular use case is entry of a SSN in a non-secure (prying eyes watching the screen) environment.
- 04-14-2011, 02:26 AM #2
Senior Member
- Join Date
- Jul 2009
- Posts
- 1,143
- Rep Power
- 5
What type of formatting are you using? Are you just trying to validate that the characters entered are numeric? If so, then use a JPasswordTextField and use a DocumentFilter to validate the character as they are entered.
- 04-14-2011, 02:47 AM #3
- 04-14-2011, 05:47 PM #4
Member
- Join Date
- Apr 2011
- Posts
- 2
- Rep Power
- 0
Customer wants the automatic and untouchable 'dashes' in the SSN field element...so the need for both JFormattedTextField coexists with the JPassword field.
:(
- 04-14-2011, 06:26 PM #5
Similar Threads
-
JFormattedTextField and MaskFormatter
By javaw in forum AWT / SwingReplies: 1Last Post: 04-20-2010, 06:42 PM -
add jformattedTextfield in jtable
By anilkumar_vist in forum Advanced JavaReplies: 1Last Post: 11-18-2009, 05:42 PM -
JFormattedTextField + SimpleDateFormat
By Ralphw in forum AWT / SwingReplies: 1Last Post: 07-07-2009, 10:53 AM -
JFormattedTextField Issue
By teracomp in forum AWT / SwingReplies: 1Last Post: 01-21-2008, 06:55 PM -
Jpassword problem
By Nick15 in forum AWT / SwingReplies: 1Last Post: 05-14-2007, 04:47 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks