Win a copy of Functional Reactive Programming this week in the Other Languages forum!
    Bookmark Topic Watch Topic
  • New Topic

Null Pointer Exception in a GUI application

 
Haani Naz
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi Guys,

i would like to extend this question by asking something about my code.

i'm basically attempting to use extended JFrame (to understand how it differs) but i've run into a problem.

i decided to post the code so it makes more sense:





followed by:




This fails to work - i get run time errors. Can somebody please tell me why..? thanks.
 
Campbell Ritchie
Sheriff
Pie
Posts: 50226
79
  • Mark post as helpful
  • send pies
  • Report post to moderator
Damn! I split the thread incorrectly. Please keep reading here.
 
    Bookmark Topic Watch Topic
  • New Topic