switched from paint to paintComponent on the background to prevent lingering action buttons on removing all rows.