title: Accessing outer class variable/member in inner class safe practice?
body: <p>In java for example, I declared and initialized a JButton in outer class and inside the inner class, I decided to make it hidden in some cases, is this a safe programming practice?</p>