[Solved] How to access and change the instance variables created within a superconstructor?
[ad_1] JLabel is a subclass of JContainer. JContainer offers a public method named setFont(), so you can call it from any place in your program, where you have a reference to the label object (the Lives’ constructor is a valid place though). The possbility to change a super class’ attribute depends on its visibilty (for … Read more