This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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
 
 
subject: JavaFX WebEngine causes high cpu usage
 
Similar Threads
JavaFX/ Swing Compatibility?
I wonder if JPanel and Stage can't be added to Group, how can I create a Panel?
Force immediate display of text in a TextField?
Creating an FX label with HTML formating
Creating charts