Can I make a JFrame have the shape of an image rather than a rectangle ?

Simon Brown

JFrame extends java.awt.Frame and therefore uses Java's peering mechanism to draw the frame and it's platform dependent decorations. JDialog and JWindow are the same so unless your operating system supports "irregular" shaped windows then this is not possible at present.

You could shape JInternalFrames by changing the look and feel that they use though.