Hi Your applet works as fine. If you enter a small number then the time taken between the display of "Working..." and the actual result is so small that you cannot see the text "Working...". But it is displayed. If you enter a big number and then hit enter then text "Working...." is displayed. If you enter a text , say "abc", which is not a number then also it displays "Working..." for ever because Interger.parseInt() throws exception.