Re: Formatted text field
From: ak (spam_at_imagero.com)
Date: 12/21/03
- Next message: bigbinc: "Re: Blackdown and java source"
- Previous message: Roedy Green: "Re: Absolute Beginner"
- In reply to: John M: "Formatted text field"
- Next in thread: Andrew Thompson: "Re: Formatted text field"
- Reply: Andrew Thompson: "Re: Formatted text field"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 21 Dec 2003 01:41:13 +0100
> how is it possible to enable only numbers input in a jFormattedTextField?
you can have only numbers also in JTextField.
Use Document which accepts only digits. It is much better then KeyListener.
____________
http://reader.imagero.com the best java image reader.
- Next message: bigbinc: "Re: Blackdown and java source"
- Previous message: Roedy Green: "Re: Absolute Beginner"
- In reply to: John M: "Formatted text field"
- Next in thread: Andrew Thompson: "Re: Formatted text field"
- Reply: Andrew Thompson: "Re: Formatted text field"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|