[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform.swt] Re: disposing objects - again
|
You did create it, so you need to dispose it. You can't create it within
the statement because you can't find it. You need to create it assigned
to a variable and then at the appropriate time using that variable
dispose it.
ie:
Font f = new Font(...)
gc.setFont(f);
and at appropriate point:
f.dispose();
Rich