Hi Ken,

I'm not an expert on Java2D at all, but if I understand your problem, the OOME 
is raised by some background thread in ImageFetcher, so your application thread 
can never catch it.

One thing you could look into is getting the ImageFetcher's background thread 
into a java.lang.ThreadGroup that you provide. This could be tricky in itself, 
but if you can do it, you may find that this error is being thrown all the way 
up to ThreadGroup.uncaughtException(Thread,Throwable)

By default, this just prints the stack trace, but you can extend ThreadGroup to 
provide your own logic to signal the application thread, and get ImageFetcher 
to use your custom ThreadGroup.

Good luck,

Doug
[Message sent by forum member 'erickson' (erickson)]

http://forums.java.net/jive/thread.jspa?messageID=227338

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to