Easy programming exercise, JTable and drawn scatterplot on an JPanel