List functionality of jtable implemented.