navigate("path");
webBrowser.navigate("file:///D:/Eclipse_Project/MyProject/src/pages/html.html");
String webContent = new Scanner(new File("src\\pages\\html.html")).useDelimiter("\\Z").next(); webBrowser.setHTMLContent(webContent);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)