Search:

Type: Posts; User: Darryl.Burke

Search: Search took 0.11 seconds.

  1. Re: Highlighting both row and column in JTable

    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...
  2. Re: Highlighting both row and column in JTable

    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...
Results 1 to 2 of 2