my dog learned polymorphism*
The moose likes JavaFX and the fly likes JavaFX WebEngine causes high cpu usage Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JavaFX
Bookmark "JavaFX WebEngine causes high cpu usage" Watch "JavaFX WebEngine causes high cpu usage" New topic

JavaFX WebEngine causes high cpu usage

Constantine Mosch

Joined: Jan 20, 2013
Posts: 10
Oracle JavaFX Documentation > JavaFX for Swing Developers has a simple web browser

When I load some urls the code causes high cpu usage.
NetBeans Debugger shows a large number of threads named "URL-Loader".

I think that these threads are responsible for high cpu usage. I search on google about "URL-Loader" without results.

How do I fix this problem?

---------- EDIT ----------

Finally "URL-Loader" thread enters at "Wait" state.
But some Threads remains at "Running" state.
NetBeans Debugger info : Hidden Source Calls > GIFImageLoader
It is sorta covered in the JavaRanch Style Guide.
subject: JavaFX WebEngine causes high cpu usage
Similar Threads
JavaFX/ Swing Compatibility?
Creating an FX label with HTML formating
Creating charts
Force immediate display of text in a TextField?
I wonder if JPanel and Stage can't be added to Group, how can I create a Panel?