Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

I need help in JTable.....Urgent

Vinoth Kannan
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Iam doing project in Clientbiller..
I have three classes namely jta,MenuTest,rec
class jta extends JTable used to create jtable in the constructor of jta using the constructor JTable(Vector, Vector)
class MenuTest extends JFrame used to create menus for the frame & it added the jtable created by jta & it is also displays the time using the thread
class rec is used to receive the things send by the client. when i tried to add the things sent by the client in a particular place using the code jta.jt.setValueAt(0,int,int),where jt is the instance created for the class jta in the main method of jta, i used to get the NullPointerException. I used to get this exception whenever i use the following code
jta.jt.getValueAt(),jta.jt.getRowCount etc....
plz reply me as soon as possible.....
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic