Hi guys, I have a JTable in which one of the columns represents currency. What I need is a way for a user to edit cells in that column to input currency of type ###.##. In that same table I have other columns with cells that user can update but they are just Integers. How do I go about implementing currency field in JTable? thanks, Alex
All right brain, you don't like me and I don't like you, but let's just do this one thing so I can get back to killing you with beer.<br /> <br />- Homer Simpson
posted 13 years ago
You can use TableCellListener to control the contents of a cell. In this listener, capture user keystrokes and act accordingly.