after executing this code i get "abnormal program termination. null pointer assignment." it looks alright ...
computer-programming-forum.com