Advertisement
|
This page contains an archived post to the Java Answers Forum made prior to February 25, 2002.
If you wish to participate in discussions, please visit the new
Artima Forums.
Message:
Works as Programmed...
Posted by Kishori Sharan on January 29, 2002 at 11:00 PM
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. Thanks Kishori
Replies:
|