• Post Reply Bookmark Topic Watch Topic
  • New Topic

java inner classes  RSS feed

 
jonas okwara
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please I want to do a "middlePanel.setVisible(true)" in my inner class.
However middlePanel is an object in the outer class, and it is:
"setVisible(false)"

Is this possible? I have blown 3 hrs on this and I need help badly


Thx

jonas
 
jonas okwara
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank You everyone.


I coded a method in the outer class for that functionality and called it in the inner class and it worked.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!