Now I need to make an applet and make use of JTextField or JFormattedTextField which is for user to input numbers. I would like to ask how to automatically format the input number dynamically during user input just like what normal calculator do?
For example: When the user enters 1000, the display in JTextField/JFormattedTextField will be 1,000 and when the user continue to input one zero digit, then the display will be 10,000
Thank you.