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

Something I was wondering about related to this:

Why is it possible to refer to non-final variables from a TreeListener. Is
there a difference between a Listener and a TreeListener?


"Adam Kiezun" <adam_kiezun@xxxxxxxxxxxxxxxxx> wrote in message
news:bembsi$jg9$1@xxxxxxxxxxxxxx
> any variable accessed from an anonymous inner class must be declared final
> that by the java spec
>
> a.
> --
> eclipse.org
>
>