Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Manju Tcs   on May 09 In Java Category.

  
Question Answered By: Dot net Sachin   on May 09

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.

Share: 

 

This Question has 6 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on Whats wrong with this code? Or get search suggestion and latest updates.


Tagged: