SyntaxFix
Write A Post
Hire A Developer
Questions
The JLabel background is transparent by default. Set the opacity at true like that:
label.setOpaque(true);