Input Mask For Text Component [message #439835] |
Fri, 16 July 2004 15:25 |
Vadalus Messages: 24 Registered: July 2009 |
Junior Member |
|
|
Hi all,
Can someone let me know whether there is an implementation of an
InputMask for a text entered in a Text component.
Specifically I am looking for dynamic conversion (as in NOT after the
user leaves the component, as in _when_ the user is typing)
1 = 1
10 = 10
100 = 100
1000 = 1,000
10000 = 10,000
1000000 = 1,000,000
etc...
I have seen something like this done via the VerifyListener in one of
the "Essential Data" libraries in the SWTWorkbench project. However,
their implementation only allow for static masks (#,###) which do not
address the problem above. I can start writing my own but would like to
know if anyone has implemented this already.
IBM had done this for SWING with the alphabeans (JFormattedTextField
only imposes the formatting after focus is lost)
L
|
|
|
Powered by
FUDForum. Page generated in 0.02428 seconds