your code looks cleaner but doesn´t make anymore what was intended,
the try catch blocks are for getting the diffrence of application or
applet
and when both have no internal resource then a load from a fixed path is tried,
thats what the comment of the original programmer says which is unfortunatly in german
Jayesh A Lalwani wrote:You are still using exception handling where you should be using validation.
You can do this