How do you add a shadow to a undecorated jframe?
From what I found online, you might be able to add the jframe to another black translucent window to give a shadow effect. Or somehow apply something like this to a JFrame:
Border loweredBorder = new EtchedBorder(EtchedBorder.LOWERED);
setBorder(loweredBorder);
Either way I just want to know the best method or maybe a completely different way of getting the same effect like extending from another class and not jframe. I'm new to Java so I might be going down the wrong direction so any advice is appreciated.
JInternalFrame
is itself a container, unlikeJFrame
(or anything that extendsJWindow
) – Damico