Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Reference to the outer class  RSS feed

 
Mikael Månsson
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I have a subclass of a JDialog, MyJDialog and I have made inner classes that takes care of Actions.
The question is, how can I call on the MyJDialog's inherited methods from JDialog from within the Action handlers?

Example:

 
Stanislav Lapitsky
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
MyJDialog.this.dispose(); ?

Regards,
Stas
 
Mikael Månsson
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you for your fast reply Stas. I think that does the trick. Cheers.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!