question: public void paint ( Graphics g ) { try { super . paint ( g ) ; } catch ( Exception e ) { } int focusedRow = getFocusedRow ( true ) ; if ( focusedRow != - 1 && focusedRow < getRowCount ( ) ) { Border rowBorder = UIManager . getBorder ( "Table.focusRowHighlightBorder" ) ; if ( rowBorder != null ) { Rectangle rect = getCellRect ( focusedRow , 0 , true ) ; rect . width = getWidth ( ) ; rowBorder . paintBorder ( this , g , rect . x , rect . y , rect . width , rect . height ) ; } } }
target:  Paints the table & a focused row border.