The stopCellEditing() call in the code below doesn't actually stop the cell editing. Ince my calendar dialog is disposed of, the cell is still waiting for entry. My guess is that I have to place...
Type: Posts; User: eewill
The stopCellEditing() call in the code below doesn't actually stop the cell editing. Ince my calendar dialog is disposed of, the cell is still waiting for entry. My guess is that I have to place...
Okay, I found my problem. For anyone else having this kind of problem. The fireTableStructureChanged() caused the information to be wiped from the columns. Every time I execute this method I have...
Oops. I meant "Frame", not form. That's what I get for typing too fast.
I will try to get a SSCCE together, but in the mean time do you happen to know what might cause the columns might revert...
I have a form with 3 JTables on it. The first two are working fine, but the third is resetting to default column widths after the data structure is updated and a fireTableStructureChanged() occurs. ...
OK, I found my own problem.
The toString() method is called on the object the CellRenderer is displaying. In my case, DisplayCell. I failed to override the toString() method for this, so the...
Exactly. But, I only see something similar to "java.lang.Object@1ba34f2" when I click on the cell to edit it. It displays fine otherwise.
I'm using a custom CellRenderer, see code below. I have a feeling something I'm doing in this is causing the problem. The CellRenderer itself seems to work fine showing the actual value, but when I...
Hmm, no ideas?
I have an interesting case where there are three JTables that must be synced together in a rather peculiar fashion.
The first column of all tables must resize together (have this working), and all...