I have a JTable
and want to get the data from each selected column. The columns are selected by mouse clicks. So, if there are 5 columns selected, the output has to be 5 string arrays.
I'm trying to do this by MouseListener
, but I can get only the clicked cells, not the entire column.