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


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

quick question

X-Received by 10.224.110.68 with SMTP id m4mr10228098qap.2.1362162318441; Fri, 01 Mar 2013 10:25:18 -0800 (PST)
X-Received by 10.49.58.167 with SMTP id s7mr1312183qeq.5.1362162318382; Fri, 01 Mar 2013 10:25:18 -0800 (PST)
Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!dd2no4202186qab.0!news-out.google.com!y6ni406qaj.0!nntp.google.com!dd2no4202181qab.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups comp.lang.java.programmer
Date Fri, 1 Mar 2013 10:25:18 -0800 (PST)
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=50.71.87.80; posting-account=TSJv4goAAABore0Q_IvL9mjso7r5jJ3k
NNTP-Posting-Host 50.71.87.80
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <23b84c9f-ada5-4d99-9aa5-d291dd14b312@googlegroups.com> (permalink)
Subject quick question
From Doug Mika <dougmmika@gmail.com>
Injection-Date Fri, 01 Mar 2013 18:25:18 +0000
Content-Type text/plain; charset=ISO-8859-1
Xref csiph.com comp.lang.java.programmer:22656

Show key headers only | View raw


reading a book a came upon the following inside a 'myDialog extends JDialog" class inside an actionlistener implemented as an anonymous inner class.

myDialog.this.dispose()

why not simply write

this.dispose()

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

Thanks
Mika

Back to comp.lang.java.programmer | Previous | NextNext 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