Hi
My Table though is coded as per textbook but does not fetch the real values Can any one correct me to get the actual
values as per key board entry
Thanks
As
CRMK
Did your textbook really have those dreadfully long lines (I corrected the worst offenders) or inconsistent indentation or confusing variable names or multiple declarations? As well as that, please always tell us where such code comes from, to avoid copyright problems.
Also please tell some details. For example what was the input and what was the output and what had you expected?
Did your textbook really have those dreadfully long lines (I corrected the worst offenders) or inconsistent indentation or confusing variable names or multiple declarations? As well as that, please always tell us where such code comes from, to avoid copyright problems.
Also please tell some details. For example what was the input and what was the output and what had you expected?
Hi
My appologies My Thanks aswell
My simple clarification is to
"How to use JTable in swing for enabling me to write the data at the key board to have them in the table"
Please tell more about this since my prg above works fine but for vallues only since the out put t as you can see looks
like this:-
Of course this gives me tabled out put
with the zeros and not the data i wrote as under
*******
When you create the Array, the value of all those variables are 0. The Array does not get automatically update when you assign a new value to each field.
Your code should be something like:
Now the Array will be created AFTER you entered all the values from the keyboard.