The above code is not run,I think you should write the Integer.parseInt at the place of Parse