Midlet containing java file(main file)