Skip to main content



      Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Why finalize method not overriden for system resource classes?
Why finalize method not overriden for system resource classes? [message #546057] Sat, 10 July 2010 09:36 Go to next message
Eclipse UserFriend
Why is the finalize method of system resource classes like font,color,image,pattern,cursor has not been overridden...

so that explicit dispose can be called there, instead of user ensuring that these have to be disposed.

Is there any specific reason???
Re: Why finalize method not overriden for system resource classes? [message #546250 is a reply to message #546057] Mon, 12 July 2010 05:51 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

This article explains the reasons -
http://www.eclipse.org/articles/swt-design-2/swt-design-2.ht ml
Re: Why finalize method not overriden for system resource classes? [message #546311 is a reply to message #546250] Mon, 12 July 2010 08:55 Go to previous message
Eclipse UserFriend
That was neat....
Thanks
Previous Topic:Separate table columns on Mac OS
Next Topic:Multiline text in table headers
Goto Forum:
  


Current Time: Mon Jul 07 01:45:52 EDT 2025

Powered by FUDForum. Page generated in 0.11803 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top