1 Replies - 606 Views - Last Post: 04 May 2013 - 02:15 AM Rate Topic: -----

#1 LetMeLearn  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 04-May 13

Creating JTable with ArrayList of objects we created question

Posted 04 May 2013 - 02:09 AM

I have created a class named Person and person have String fields int fields and Arraylist fields .

I read a file and create an Person for each line (Some information is known like name and number ) and some information is not know well like number of cars so we keep them in arraylist. First line determines number of these stuff.

for each line except first line we create new Person and keep them in an ArrayList.


I need to create an JTable (I am free to use WBPro but not necessarily). And i need to implement some functions to this table but I can not handle creating table .

Can anyone familiar help me with this ? Some samples will be very beneficial for me .

Is This A Good Question/Topic? 0
  • +

Replies To: Creating JTable with ArrayList of objects we created question

#2 GregBrannon  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 2205
  • View blog
  • Posts: 5,239
  • Joined: 10-September 10

Re: Creating JTable with ArrayList of objects we created question

Posted 04 May 2013 - 02:15 AM

This tutorial shows how to do many things with JTables, basic to complex.
Was This Post Helpful? 1
  • +
  • -

Page 1 of 1