Object[] array = new Object[100];
Only creates space for 100 Objects, it creates no actual objects... you need to do a
array[i] = new Object();
for each element.
Kev
Karl Parry wrote:
[EMAIL PROTECTED]">Doing that:
for(i = 0; i < tableNo; i++)
Gives a Null Pointer Exception when the program is
run... I can't seem to shake it!
Any ideas?
KP
--- "Raj N. Vaidya" <[EMAIL PROTECTED]> wrote: >for(i = 0; i > tableNo; i++)
Typo ? Did you mean "i < tableNo" ?
Regards
Vaidya===========================================================================To unsubscribe, send email to [EMAIL PROTECTED]
and include in the body
of the message "signoff JAVA3D-INTEREST". For
general help, send email to
[EMAIL PROTECTED] and include in the body of the
message "help".
__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".
