xmlgraphics-batik-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 40394] - Provide implementation of Icon interface in swing package
Date Sun, 03 Sep 2006 23:48:08 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40394>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40394





------- Additional Comments From kirillcool@yahoo.com  2006-09-03 23:48 -------
I just attached the extended version of the class that you gave earlier. It
draws heavily from the asynchronous implementation of JGVTComponent (perhaps
this code can be extracted into a common layer) + resizability support in
setPreferredSize that schedules the rendering.

In my application i've extended this icon class with another one that registers
another GVT tree renderer listener and on completion calls a method on the
containing component asking it to redraw the icon. This way, the icon is loaded
asynchronously and the containing component is notified when it should redraw
the icon.

The only thing missing here for me - a static thread pool to dispatch the load
requests on a limited number of threads to prevent out of memory exceptions.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org


Mime
View raw message