Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-03-2009, 03:18 PM
Member
 
Join Date: Apr 2009
Posts: 1
Rep Power: 0
Gandolf is on a distinguished road
Default Images problem in treeviewer
I am using a tree viewer control to display images, and it appears to be running into a memory problem, depending on image size it eventually fails to show images, sometimes failing with a bad parameter error in the GCrawimage. When this fails the image has 0 width and height. Sometimes a blank image is drawn.

Note, traceing the image provider show only valid size images being obtained. The problem appears to be related to the total memory used for images displays in the control, it occurs sooner with larger images. The problem can be created by switching repeatedly between image sets.

Are there any known memory issues related to use of images in the treeviewer?
Any other suggestions as to the cause of these problems.

Thanks in advance
Gandalf.
Bookmark Post in Technorati
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
problem in socket connection in sending images vibhor Networking 2 02-20-2009 06:39 AM
SWT treeviewer sushistix SWT / JFace 4 10-28-2008 10:25 PM
How do I refresh a TreeViewer object? xcallmejudasx SWT / JFace 0 10-27-2008 04:51 PM
TreeViewer Demonstration Java Tip SWT 0 07-07-2008 05:54 PM
ArrayList problem with images Cymro New To Java 2 02-05-2008 07:22 PM


All times are GMT +2. The time now is 01:16 PM.



VBulletin, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2009, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org