I'm sorry for using caps, my last attempt of asking this question wasn't clear which is fine. How do I make the JFrame fully invisible, not: '.setUndecorated(true)', but actually invisible and put a JPanel on that JFrame that is visible. So pretty much, the JPanel will act as a JFrame, but I need the JFrame to be bigger than the JPanel because I'd like to add shadow around the JPanel, which has been figured out already.