Skip to content Skip to sidebar Skip to footer

Why Can't I Embed Ace Editor Into Webview?

I am attempting to make a simple editor in JavaFX 2.2. I downloaded Ace Editor repository and created a test page which works fine when double clicked. However, it does not work

Solution 1:

It works for me when the absolute file path : try

File f = new File("/home/little/Downloads/AceEditor/ace-builds-master/MyTrial.html");
String StrURL = f.toURI().toURL().toString(); 
engine.load(StrURL);

Post a Comment for "Why Can't I Embed Ace Editor Into Webview?"