| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
I am running into a problem when trying to do drag and drop from a large JTree (about 3000 leaves). The default behavior under Mac OS X 10.2 seems to be to create a translucent image of the entire tree during the drag operation and display that image during the drag. I have the JTree displayed in a JScrollPane but the created image is the entire tree, not just the visible portion. The creation of this image causes an OutOfMemoryException that prevents the drag operation from beginning. Is there a non-Mac specific way to stop this image from being created or to force it to only display the visible portion of the tree? I have to be able to compile and run the code on other systems as well (Linux and Windows) so I can't do anything specific to OS X.
| References: | |
| >OutOfMemoryException During Drag and Drop From a Tree (From: "Shankman, Gordon L." <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.