In the code you posted that should not be the
case. As I explained before, when you create the
tabledata array in the Main constructor the value for
data[1] is null. Your code is most likely throwing a
NullPointerException. I ran your code as an application and that is
what I received. If you are building this as an
applet, then you should check the applet console to see
if the error is indeed
occuring.