Adds table update listener to main JFrame.