posted 10 years ago
Found a really good example on working with the DefaultTableModel but have a question on this function that is created.
This may be more of a general question but figured the sample is geared toward Swing components and figured I would post it here.
Full code is listed below.
I am familiar with ActionListeners as well as inner and classes and anonymous classes, but the above code is a bit unique to me.
It almost seems like when the model variable is instantiated that a public function named getColumnClass is dynamically being created.
Also, I don't see the getColumnClass being called. Is it something that gets call implicitly?
I appreciate any input and would be interested in explanation as well as links to documentation that discuss this topic.