In the class SWTGraphics2D, there are 3 TODO on 3 dispose call (in setFont(Font font), setBackGround and setForeGround).
I think that the answer to the question about the need to explicitly call "dispose" is yes.
I'm using JFreeChart in an eclipse view to do some dynamic chart and run out of handle after an amont of time.
With adding some "dispose" calls to the previous methods, I don't.
PS : Thanks for that great lib !
Log in to post a comment.