How do I limit input in a JTable cell to integers only?
From: Dag Sunde (ds_at_orion.no-way)
Date: 03/29/04
- Next message: tiago: "help"
- Previous message: Lobang Trader: "Drag n Drop for JTabbedPane"
- Next in thread: Rob Jones: "Re: How do I limit input in a JTable cell to integers only?"
- Reply: Rob Jones: "Re: How do I limit input in a JTable cell to integers only?"
- Reply: Babu Kalakrishnan: "Re: How do I limit input in a JTable cell to integers only?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 29 Mar 2004 09:16:06 GMT
I have a 4 column JTable, and in the last 3 columns I
want the input to be limited to the keys "0" to "9"
only.
I want it to not react on any other keys at all while
editing.
anyone?
TIA...
-- Dag.
- Next message: tiago: "help"
- Previous message: Lobang Trader: "Drag n Drop for JTabbedPane"
- Next in thread: Rob Jones: "Re: How do I limit input in a JTable cell to integers only?"
- Reply: Rob Jones: "Re: How do I limit input in a JTable cell to integers only?"
- Reply: Babu Kalakrishnan: "Re: How do I limit input in a JTable cell to integers only?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|