[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] why are certain components final?

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.