aspose file tools*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JavaFX
Bookmark "JavaFX WebEngine causes high cpu usage" Watch "JavaFX WebEngine causes high cpu usage" New topic
Author

JavaFX WebEngine causes high cpu usage

Constantine Mosch
Greenhorn

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

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JavaFX WebEngine causes high cpu usage
 
Similar Threads
I wonder if JPanel and Stage can't be added to Group, how can I create a Panel?
JavaFX/ Swing Compatibility?
Force immediate display of text in a TextField?
Creating charts
Creating an FX label with HTML formating