What is the best way to validate a Time format in Java i.e using a JTable cell. The format is example 7:20 AM
Thanks much.
-
Swing JTable Cell Validation (2 messages)
- Posted by: Howard Hill
- Posted on: March 23 2004 21:10 EST
Threaded Messages (2)
- Swing JTable Cell Validation by David Rabinowitz on March 24 2004 08:41 EST
- Thanks by Howard Hill on March 24 2004 20:53 EST
-
Swing JTable Cell Validation[ Go to top ]
- Posted by: David Rabinowitz
- Posted on: March 24 2004 08:41 EST
- in response to Howard Hill
You can use javax.swing.InputVerifier on the JTable.
David -
Thanks[ Go to top ]
- Posted by: Howard Hill
- Posted on: March 24 2004 20:53 EST
- in response to David Rabinowitz
Thanks for your reply David it helped a alot.
I created a JTextField in the cell as a cell editor and added the inputVerifer
Thanks