I want to create a list of files, where I want to show more tahn one field on each row, for example, I want to show a file name, size, date,... Can I do this thith a list or I have to use JTable, because I don't know how to do it with JLits. I need to be able to select a row and then work with it's content, is it posible with JTable?? Thanks
I would definitely go with JTable. You'll have column headers and the user will be able to resize columns (long file names)!
There is no emoticon for what I am feeling!
Joined: May 17, 2003
Thanks a lot, I'll go with JTable, but can anyone tell me how I can do something with the selected row??
Joined: Sep 16, 2005
Originally posted by Emili Calonge: Thanks a lot, I'll go with JTable, but can anyone tell me how I can do something with the selected row??
Too vague. Are you asking: * how to be notified when the selection changes? * how to get the selected row(s)? * how to get data from the model of the table? * what you can do ??? with data? * how to *change* data in the model of the table?