This is my very first StackOverflow question, so if I do/ask something incredibly stupid, please be lenient!
I'm a noob when it comes to Java, specifically swing, and I'm having trouble understanding the getTableCellRendererComponent function of the TableCellRenderer interface (and similar with the getTableCellEditorComponent function of the TableCellEditor interface). Specifically, I don't understand the point of the 2nd argument (Object type). Doesn't the value for this just come from the given JTable at the given row and column? If so, why bother with the 2nd argument at all? I've done quite a lot of google searching, but no-one appears to answer this (or perhaps my brain has some malfunctioning neurones, which, given past history, isn't an unlikely explanation...)
I would appreciate the help!
Thanks