public void loadCurrentResource() {
		if (Page.isApplet()) {
			URL url = null;
			try {
				url = new URL(resourceAddress);
			}
			catch (MalformedURLException mue) {
				mue.printStackTrace();
				if (!FileUtilities.isRemote(resourceAddress)) {
					try {
						url = new File(resourceAddress).toURI().toURL();
					}
					catch (MalformedURLException e) {
						e.printStackTrace();
					}
				}
			}
			if (url != null)
				container.getModel().input(url);
		}
		else {
			if (!page.isRemote()) {
				container.getModel().input(new File(resourceAddress));
			}
			else {
				String fileName = FileUtilities.httpEncode(FileUtilities.getFileName(resourceAddress));
				URL baseURL = null, url = null;
				try {
					baseURL = new URL(FileUtilities.httpEncode(FileUtilities.getCodeBase(page.getAddress())));
					url = new URL(baseURL, fileName);
				}
				catch (MalformedURLException mue) {
					mue.printStackTrace();
				}
				container.getModel().input(url);
			}
		}
	}