[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform.swt] why are certain components final?
|
- From: soni29@xxxxxxxxxxx (soni)
- Date: Fri, 11 Jul 2003 12:38:33 +0000 (UTC)
- Newsgroups: eclipse.platform.swt
- Organization: http://news.eclipse.org
- User-agent: NewsPortal/0.25 (http://florian-amrhein.de/newsportal/)
hi,
i was recently reading a small swt tutorial and the author mentioned that
inorder to use a adapter the component has to be made final, is this for
adapters only or for listeners also? and do variables that change in the
adapters or listeners also have be a final, i tried a program example and
it gave me an error saying the variable needs to be final, the variable
was declared outside of the listener but was being changed inside one, i
could have just mistyped something though, haven't had a chance to go back
and look at it.
Thank you.