The code does not play well with Java Generics because the table model handle multiple data type arrays.