Thread: J2ME and files
View Single Post
  #3 (permalink)  
Old 01-26-2008, 07:36 PM
hobbyist hobbyist is offline
Member
 
Join Date: Nov 2007
Posts: 5
hobbyist is on a distinguished road
Somewhere in your code you need:
helloTextBox = new TextBox(String title, String contents, int size, int type);

In your initialise() method you are:
getDisplay().setCurrent(get_helloForm());

I think that a null is being returned from get_helloForm() so a nullPointerException will be thrown when you try to setDisplay() in your initialize() method.
Reply With Quote