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


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

quick question

Newsgroups comp.lang.java.programmer
Date 2013-03-01 10:25 -0800
Message-ID <23b84c9f-ada5-4d99-9aa5-d291dd14b312@googlegroups.com> (permalink)
Subject quick question
From Doug Mika <dougmmika@gmail.com>

Show all headers | 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