Welcome to the Ranch
Why are you using an applet? They are obsolete.
Does that code compile? I can't seem to see where you declared
file. Where does the Parser class come from? Why are you calling the parse method as if it were static? Why have you get the keyword static so often in your program? Why are you throwing an exception and catching it in the same method?
Those are all errors which
you should correct first.
When you set the text in the label, are you repainting the display? If everything is running in the same
thread, you may not be able to repaint it because the thread will be busy. Find out about
worker threads, which may help with that problem.