• Post Reply Bookmark Topic Watch Topic
  • New Topic

A n about the last msg

 
J Maruti
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
according to one of the previous msgs we need a 'return' in the anonymous class created for closing the window.
is it true?
 
paul wheaton
Trailboss
Posts: 22047
Firefox Browser IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not sure which previous message you're looking at, but an anonymous class doesn't need a return anywhere.
 
Jim Yingst
Wanderer
Sheriff
Posts: 18671
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
He're my guess at what J's talking about:

No return is needed.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!