This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
    Bookmark Topic Watch Topic
  • New Topic

draw Image  RSS feed

 
sac kul
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Report post to moderator
Creates a blank image of a specific height and width
createImage( width, height );
gives java.lang.NullPointerException.Please Give the reasons
 
Niki Nono
Ranch Hand
Posts: 256
  • Mark post as helpful
  • send pies
  • Report post to moderator
some more insight on your problem from your side would be really helpful you know.

Based on the line that you have posted it is impossible for anyone to come up with a possible solution.
If there are any tigers out there who decipher this post please do reply.
Please note sac that i am not demeaning you in any way but please clarify and post more lines of the problem so that we can help you out.
 
Ernest Friedman-Hill
author and iconoclast
Sheriff
Posts: 24217
38
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Report post to moderator
See duplicate thread here.
 
It is sorta covered in the JavaRanch Style Guide.
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!