Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

java inner classes

 
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.
 
Run away! Run away! Here, take this tiny ad with you:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!