unt mazga
unt mazga

Reputation: 41

JComponent - set transparent background

I have on a panel a JTable and a JLabel. I set it a background image but I can't get rid of that grey background from the table and label.

How can I do it?

enter image description here

Upvotes: 0

Views: 740

Answers (1)

Quicksilver002
Quicksilver002

Reputation: 735

Try doing .setOpaque(false); on your JTable and JLabel

Upvotes: 2

Related Questions