By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,655 Members | 1,541 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,655 IT Pros & Developers. It's quick & easy.

How do I add separators automatically in a text box in Java?

P: 1
Example 222-222-222-222 how do i add separators automatically in a text box in java programming not javascript
Feb 25 '13 #1
Share this Question
Share on Google+
1 Reply


10K+
P: 13,264
Listen for key events and add the separator automatically after a character is typed that is characters from last separator or start of text.
Mar 6 '13 #2

Post your reply

Sign in to post your reply or Sign up for a free account.