This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

i am not getting how to insert a arraylist to a JTable  RSS feed

 
ajay abcde
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
i am tryiny to populate the JTable with the arraylist, but not getting how to do it .

can anyone help me how can i do it
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A list is one-dimensional, while a table is two-dimensional. Is a JTable really the best component for showing the contents of the list? Or might a JList be more appropriate? I'm asking because JList is easier to work with than JTable.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!