add loop on alert()
java code style
compile java