3 Replies Latest reply: Oct 14, 2013 6:36 PM by barryku RSS

    Why is WebView content fading out?


      We are experiencing a very weird behavior that the content in the WebView will disappear when we move mouse around.  It seems the stylesheet of the WebView is changed after adding same database access code.  I have modified the sample application at http://docs.oracle.com/javafx/2/webview/jfxpub-webview.htm a little bit to demonstrate this issue.  The modified class has the following added code,


      final JDBCDataSource dataSource = new JDBCDataSource();




      Connection conn = dataSource.getConnection();



      The WebView works normally without any issues if the last two lines are commented out.  I have created a Maven project with readme.txt for anyone who can help to run the app to see the weird behavior at https://app.box.com/s/dc9bd8f09m69o2iamvit.