Re: Exception in thread "main" java.lang.NullPointerException
Hey oscardog.
This is a new error with your updated code. When adding the fix to the code you posted originally it all seems to work fine..
__________________
Don't forget to add syntax highlighted code tags around your code: [highlight=Java] code here [/highlight]
Forum Tip: Add to peoples reputation ( ) by clicking the button on their useful posts.
|