| Author |
question on a design
|
Gene Hilpert
Ranch Hand
Joined: May 22, 2002
Posts: 49
|
|
Hi I'm a greenhorn to OOPs and Jave language but not to programing. I have a question on a design of an application. I works but is there a better way. My application is for creating and maintaining a class roster. There is no database just reading and writing to a text file. It has a collection(arraylist) called members of a class called member that holds name, address and Id. I read from the text file and create members collection but to edit it I when with a jTable. So I convert the collection to Object[][], display the jTable and when a Save button is pressed I update the collection with the Object[][] data. then write the data back to the text file. There are a lot of steps in doing the converting from the collection to Object[][] and back again, so I was wondering if there is a better way. Thanks
|
 |
Dave Vick
Ranch Hand
Joined: May 10, 2001
Posts: 3244
|
|
|
Moving this to the OO design, UML and refactoring forum
|
Dave
|
 |
 |
|
|
subject: question on a design
|
|
|