result.set(true);
}
};
addInitializationListener(initializationListener);
webBrowser.navigate(WebServer.getDefaultWebServer().getDynamicContentURL(JHTMLEditor.class.getName(), String.valueOf(instanceID), "index.html"));
webBrowser.getNativeComponent().runSync(new LocalMessage() {
@Override
public Object run(Object[] args) {
InitializationListener initializationListener = (InitializationListener)args[0];
final AtomicBoolean result = (AtomicBoolean)args[1];
EventDispatchUtils.sleepWithEventDispatch(new EventDispatchUtils.Condition() {