JTable demo is suboptimal code