You should do it since it is your program and you will be getting the credit for it.
The more programming you do, the more you will learn. If someone else does it, you will learn very little.
Type: Posts; User: Norm
You should do it since it is your program and you will be getting the credit for it.
The more programming you do, the more you will learn. If someone else does it, you will learn very little.
Make a loop to read the lines from the file and save them in the array.
The code in post#4 had the loop but there was extra code inside the loop that should be moved out.
The code in post#12 puts...
Where is the loop to read all the lines in the file?
Think of a 2 dim array as an array of arrays. A one dim array can be assigned to the first dim of a two dim array
int[][] twoDim = new int[4][]; // define 2 dim array, leaving second dim...
begin loop to read lines
Read the lines from the file
break the lines into parts
save the lines
end loop reading lines
create the model
create the table
Another problem is that the model and table should be created AFTER all the data has been read from the file and stored in the array. The posted code has that code inside of the loop so it will...
Where does the code assign any Strings to the matrix array? See post#3
What is "the object" and how do you want to show it? As an image? As lines in a text area? How???
Please make a small, simple program that compiles, executes and shows the problem.