• Post Reply Bookmark Topic Watch Topic
  • New Topic

Best Choice for a File List  RSS feed

 
Matt Wilhelm
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm making an FTP program and I'm trying to figure out what component to choose for a file list. I want to include an image for the type of file, the name of the file, the date, and the size. I've been trying to work with a table, but I haven't found an easy way to clear the table and then add rows. Anyone know of a good tutorial or example? Would it be better to use a different Swing Component? Thanks for the help!
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would say that a JTable is your best option. A good tutorial to start with is here.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!