The Matisse code from Netbeans is blocked. The problem I have is that I have to setBackground to a JLabel from another Class in different package but I cannot do this because i have no access to the JLabel due to its private and blocked code.
Is thare any solution to this?
You can edit it as seen here
Just write a
gettermethod for the label in the other classSounds like you're using multiple frames. See The Use of Multiple JFrames, Good/Bad Practice?
UPDATE
What you can do then is pass a reference of the
Mainframe to the other class, and have asetterin theMainframe. Something like (I will provide an interface for access)