We're having problems about loading this url from JBrowse genomic browser into a WebView
http://jbrowse.org/code/JBrowse-1.10.8/?loc=ctgA%3A9906..32101&tracks=DNA%2Cvolvox-sorted.bam&data=sample_data%2Fjson%2Fvolvox&highlight=&tracklist=1&nav=1&overview=1
Doing this in Firefox, IE , Chrome or Safari 6 it works, but in WebView doesn't shows anything and the screen keeps blank.
We also installed JBrowse server in our local machines and the same test from WebView to local url loads the page but WebView crashes, sometimes just after loading, sometimes when resizing window or even doing drag action over genomic browser.
This version of JBrowse requires Safari 6 to work with full features (it uses html5 canvas and javascript typed arrays) and we have test that WebView is implemented over webkit that finally seems to be a Safari 5+ ¿is that rigth?
Testing this with Java8 beta the situation seems to be "not so bad" (it takes more time to crash).
1.- ¿Are there known problems about webkit and some of this features like typed arrays, etc..?
2.- ¿What are the roadmap for WebEngine / webkit in Java8 release?
Here is my code. Thanks in advance
<code>
import javafx.application.Application;
import static javafx.application.Application.launch;
import javafx.scene.Scene;
import javafx.scene.web.WebView;
import javafx.stage.Stage;
public class HelloWorld extends Application {
@Override
public void start(Stage stage) throws Exception {
WebView webView = new WebView();
String url = "http://jbrowse.org/code/JBrowse-1.10.8/?loc=ctgA%3A9906..32101&tracks=DNA%2Cvolvox-sorted.bam&data=sample_data%2Fjson%2Fvolvox&highlight=&tracklist=1&nav=1&overview=1";
webView.getEngine().load(url);
stage.setScene(new Scene(webView, 900, 800, true));
stage.show();
}
public static void main(String[] args) throws Exception {
launch(args);
}
}
</code>
http://jbrowse.org/code/JBrowse-1.10.8/?loc=ctgA%3A9906..32101&tracks=DNA%2Cvolvox-sorted.bam&data=sample_data%2Fjson%2Fvolvox&highlight=&tracklist=1&nav=1&overview=1
Doing this in Firefox, IE , Chrome or Safari 6 it works, but in WebView doesn't shows anything and the screen keeps blank.
We also installed JBrowse server in our local machines and the same test from WebView to local url loads the page but WebView crashes, sometimes just after loading, sometimes when resizing window or even doing drag action over genomic browser.
This version of JBrowse requires Safari 6 to work with full features (it uses html5 canvas and javascript typed arrays) and we have test that WebView is implemented over webkit that finally seems to be a Safari 5+ ¿is that rigth?
Testing this with Java8 beta the situation seems to be "not so bad" (it takes more time to crash).
1.- ¿Are there known problems about webkit and some of this features like typed arrays, etc..?
2.- ¿What are the roadmap for WebEngine / webkit in Java8 release?
Here is my code. Thanks in advance
<code>
import javafx.application.Application;
import static javafx.application.Application.launch;
import javafx.scene.Scene;
import javafx.scene.web.WebView;
import javafx.stage.Stage;
public class HelloWorld extends Application {
@Override
public void start(Stage stage) throws Exception {
WebView webView = new WebView();
String url = "http://jbrowse.org/code/JBrowse-1.10.8/?loc=ctgA%3A9906..32101&tracks=DNA%2Cvolvox-sorted.bam&data=sample_data%2Fjson%2Fvolvox&highlight=&tracklist=1&nav=1&overview=1";
webView.getEngine().load(url);
stage.setScene(new Scene(webView, 900, 800, true));
stage.show();
}
public static void main(String[] args) throws Exception {
launch(args);
}
}
</code>