R
Rolf
Hi:
I need to create a JTextFiled that is 8 characters in width. This field
needs to only accept 8 characters. When I create a JTextField as:
customerTextField = new JTextField(8);
The displayed JTextField can actially show 12 digits at a time. Why is
the created JTextField not 8 but 12 characters wide? Is this a font problem?
Also, is there a way to "block" the entry of more than 8 digits?
TIA
- Rolf.
I need to create a JTextFiled that is 8 characters in width. This field
needs to only accept 8 characters. When I create a JTextField as:
customerTextField = new JTextField(8);
The displayed JTextField can actially show 12 digits at a time. Why is
the created JTextField not 8 but 12 characters wide? Is this a font problem?
Also, is there a way to "block" the entry of more than 8 digits?
TIA
- Rolf.