else if (b == upload_b) {
// Call javascript to open an upload window
try {
JSObject win = JSObject.getWindow(this);
String params[] = { showing_files.path };
win.call("upload", params);
}
catch(Exception e) {
new ErrorWindow(text("upload_efailed", e.getMessage()));
}
}