Code for the demo can be found at: https://gist.github.com/1422815.
I´m trying to use jQueryUI based DatePicker for JavaFX, but i get Errors. When I see the HMTL generated into my browser there is no error, but in FX I only see white screen with current date. Can you help me?
Copy the sample code for DatePicker.java and SampleDatePicker.java from https://gist.github.com/1422815 and compile and run it as standalone application to test that that works for you. I just tried it again with the https://gist.github.com/1422815/e1ec3117c48d73f8154229bcbeb5675fe7e56120 revision from github on a Windows 7 machine with JavaFX 2.0.2 SDK installed and it worked fine for me. Upon running, there is a slight delay as the WebView fetches the networked resources and initializes. During this time the display is blank before the DatePicker appears, but this is no more than a second on my machine. If you are trying to run the JavaFX application as a webstart application via jnlp or embedded in a browser, you will need to embed the required resources from the jquery and jqueryui libs with your application, otherwise the security manager will prevent loading them from a foreign server over the network. If you are still having issues, you can monitor any errors that the WebView embedded in the DatePicker may produce by attaching a listener to the webView.getEngine().getLoadWorker().exceptionProperty() and monitor the status of the webView via webView.getEngine().getLoadWorker().stateProperty().
[…] Smith has created a jQuery-based DatePicker ‘control’ that you can use in your own JavaFX […]
Fill in your details below or click an icon to log in:
You are commenting using your WordPress.com account. ( Log Out / Change )
You are commenting using your Twitter account. ( Log Out / Change )
You are commenting using your Facebook account. ( Log Out / Change )
You are commenting using your Google+ account. ( Log Out / Change )
Connecting to %s
Notify me of new comments via email.
I'm a Software Engineer at Symantec Corporation working to establish trust on the Internet.