Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How does the Caching in JavaFX 2.0 Work?

895526Oct 20 2011 — edited Oct 20 2011
I have written a "google maps-like" large image viewer in JavaFX and although the image loading is done in separate threads, it still slows down my panning on the UI thread. It seems this only happens after images are loaded which have been cached. Does cache searching get done on the UI thread automatically even if the image load is done in a separate thread. Also where is the cache stored and how can I turn off the Caching on my ImageViews? I tried ImageView.setCache(false) and it still didn't work.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 17 2011
Added on Oct 20 2011
1 comment
302 views