Shorter, and doesn't require listeners. Also, more efficient as only the visibleRect of the table is repainted.
import javax.swing.*;
public class RowColumnSelectedTable {
static final int...
Type: Posts; User: Darryl.Burke
Shorter, and doesn't require listeners. Also, more efficient as only the visibleRect of the table is repainted.
import javax.swing.*;
public class RowColumnSelectedTable {
static final int...
1. Overriding prepareRenderer can do the job, but I feel the programming idiom here is better represented by overriding isCellSelected.
2. You need to repaint the table when a cell in a different...