Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #22669

Re: quick question

From Roedy Green <see_website@mindprod.com.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: quick question
Date 2013-03-01 15:38 -0800
Organization Canadian Mind Products
Message-ID <pue2j81og0r8kr3qji393p466diio663c1@4ax.com> (permalink)
References <23b84c9f-ada5-4d99-9aa5-d291dd14b312@googlegroups.com>

Show all headers | View raw


On Fri, 1 Mar 2013 10:25:18 -0800 (PST), Doug Mika
<dougmmika@gmail.com> wrote, quoted or indirectly quoted someone who
said :

>does it have anything do with the fact that this line 
>is found within an anonymous inner class that is an actionListener?

Inside the anonymous class "this" refers to the  dependent anonymous
class  object.  by prefixing the class you get the outer object.
-- 
Roedy Green Canadian Mind Products http://mindprod.com
One thing I love about having a website, is that when I complain about
something, I only have to do it once. It saves me endless hours of 
grumbling.

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

quick question Doug Mika <dougmmika@gmail.com> - 2013-03-01 10:25 -0800
  Re: quick question Eric Sosman <esosman@comcast-dot-net.invalid> - 2013-03-01 13:48 -0500
    Re: quick question Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> - 2013-03-01 20:08 +0100
      Re: quick question Donkey Hottie <donkey@fredriksson.dy.fi> - 2013-03-01 22:52 +0200
        Re: quick question Joerg Meier <joergmmeier@arcor.de> - 2013-03-01 22:22 +0100
          Re: quick question Lew <lewbloch@gmail.com> - 2013-03-01 15:31 -0800
  Re: quick question Arne Vajhøj <arne@vajhoej.dk> - 2013-03-01 18:30 -0500
  Re: quick question Roedy Green <see_website@mindprod.com.invalid> - 2013-03-01 15:38 -0800

csiph-web