Skip to main content



      Home
Home » Eclipse Projects » GEF » Disposing
Disposing [message #11287] Fri, 28 June 2002 06:47 Go to next message
Eclipse UserFriend
Originally posted by: g.wagenknecht.intershop.de

Hi!

If I use a label with an image and some text in a figure. Does the label
disposes the icon or the font when it is no longer in use (garbage
collected) or do I have to dispose the icon and the font?

Cu, Gunnar
Re: Disposing [message #11432 is a reply to message #11287] Fri, 28 June 2002 08:24 Go to previous message
Eclipse UserFriend
Originally posted by: none.ibm.com

You have to do it.

It's probably best to associate such resource management with something else
that *does* get disposed, like the EditorPart or the SWT Control.

"Gunnar Wagenknecht" <g.wagenknecht@intershop.de> wrote in message
news:afhd9n$el1$1@rogue.oti.com...
> Hi!
>
> If I use a label with an image and some text in a figure. Does the label
> disposes the icon or the font when it is no longer in use (garbage
> collected) or do I have to dispose the icon and the font?
>
> Cu, Gunnar
>
>
Previous Topic:Enabling undo feature
Next Topic:Question about EditPart.setModel() & EditPartViewer.setContents()
Goto Forum:
  


Current Time: Wed Jun 04 17:31:44 EDT 2025

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

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

Back to the top