Correctly Applies Transparency

The setOpaque was in main instead of the class.