public void repaintCurrentRow ( ) { m_jTableScreen . removeEditor ( ) ; // This is needed to make sure editors for the delete button are removed. int iRow = m_jTableScreen . getSelectedRow ( ) ; int iColumn = m_jTableScreen . getColumnCount ( ) - 1 ; Rectangle rect = m_jTableScreen . getCellRect ( iRow , iColumn , false ) ; rect . width = rect . width + rect . x ; rect . x = 0 ; m_jTableScreen . repaint ( rect ) ; }
Repaint the current row .