For those curious or had trouble like I did, here is some code for formatting JTables base on what is in their cell. Might find this useful if you have never done this like I hadnt. Learned alot on...
Type: Posts; User: aussiemcgr
For those curious or had trouble like I did, here is some code for formatting JTables base on what is in their cell. Might find this useful if you have never done this like I hadnt. Learned alot on...
Ok, well here is something I didnt know.
The setValueAt function DOESNT change the value in the data array. Which means I had to manually do it myself. I did this:
DefaultCellEditor...
How do I use the setValueAt() function when I cant see what data the user enters?
I am having issues with my JTable saving values that the user inputs in the cells. At first glance, it would seem that the data has been saved, but when you attempt to retrieve the data or reload the...