The
loadURL function takes a URL in the form of a string.
How to load HTML in a String with
WebRenderer String
localDirectoryPath = "C:/Windows/myWorkingDirectory"; browser.loadHTML("<HTML>My String of
HTML</HTML>", localDirectoryPath);
How to load HTML in a byte array with
WebRenderer
byte[] mybytearray = new String("<html>Convert text
to
bytes</html>").getBytes("UTF-8"); browser.loadHTML(mybytearray);
How to load HTML from
a base location (required for image loading))