This may sound strange, but the best way to explain my problem is just as stated in the title.
I Have a JTable, that uses a Custom Tablemodel, in this Tablemodel i have different methods.
I need a way for when I call a specific method in the Tablemodel, to go to the table it is added to, and change the background color of the Cell at Position (X,Y).
I have access to the JTable Object from my Tablemodel.
To Clarify the Problem, have a JTable that uses a Specific Tablemodel, and I need to highlight a cell when the value of that cell is changed.
The value change is done by calling a method that gives me the position on the datamodel.
setData(Object value, int row, int column)
TableModel. A TableModel contains the data that is displayed in the table. If this is what you mean, then use the proper terminology. If this is not what you mean then the question is why do you have a separate model? The data should not be stored in two places - camickr