catch ( java.io.IOException e ) {
catch ( Exception e ) {
    public ExplorerPanel(String dir) {        try {            java.net.URL templateURL = getClass()                .getResource("/explorer/Explorer.thtml");            // you can of course directly give files here.            STemplateLayout layout = new STemplateLayout( templateURL );            setLayout(new STemplateLayout(templateURL));        }        catch ( java.io.IOException e ) {            setLayout(new SFlowLayout());        }	add(createTree(dir), "DirTree");	add(createTable(), "FileTable");	add(createUpload(), "UploadForm");	add(createDeleteButton(), "DeleteButton");    }