Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Urgent help with JTable  RSS feed

 
Tris Rabar
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I'm trying to learn the features of JTables, but there's something I don't understand:

How do you read data into the table when the data is dynamically obtained from object instances?
For example, say I have a class of student objects, and one of the attributes is 'courses', which in turn is a vector of courses objects. How can I enter this data into the table??
Please...I need some quick suggestions!
Thanks in advance!!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!