How to load both html and javascript into webengine from loadContent()?
问题 Could someone provide some suggestions on how to load the following onto webviewer from loadContent()? http://jsbin.com/aqupun/6/edit I was trying to do something like this, but it doesn't seem to work. Thanks! Scanner sc1 = new Scanner(new File("src/web/web.html")); String webStr = sc1.useDelimiter("\\Z").next(); Scanner sc2 = new Scanner(new File("src/web/data.js")); String dataStr = sc2.useDelimiter("\\Z").next(); Scanner sc3 = new Scanner(new File("src/web/cytoscape.min.js")); String