• Post Reply Bookmark Topic Watch Topic
  • New Topic

GUI runtime error

 
Mark Phylus
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My program compiles fine but gives me a runtime error.
1. Can anyone explain to me what the error means?
2. Kindly help me fix it.
I do appreciate this. here is the code
Thanks.


[ May 03, 2004: Message edited by: Mark Phylus ]
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You would be getting a NullPointerException here
String t = title.getText().trim();
'title' has not been created, or added to the GUI
 
Mark Phylus
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!