I would like to make a JPanel
see through the program window like in this picture:
I've tried with setOpacity(false)
and setBackground(new Color(0,0,0,0))
but nothing worked so far. Any ideas?
edit:
I've found most of what I needed and managed to make a prototype version of my code, it works as intended (even though I have to deal with a different and ugly look and feel (??)), yet, when i want to make that same transparent panel as part of a tabbed panel it doesn't work, I managed to have my background panel see through, but not my tabbed panel, and I feel like there's a lot of code in the examples that isn't directly related to making it transparent, (probably because I relied on a bit of code from per pixel gradiant transparency or something), I feel there's something I'm missing, using setBackground(new Color(0,0,0,0))
in the constructor works for the default panel, but not for a specific panel, any clue about what i'm doing wrong or missing?
What I aim to do is making a tabbed panel with one that lets you see through the program window.