I want to build an aplication without using a JFrame. Instead I want to use an image as background. This image is not rectangular. I don't want to be painted pixels out of the image. I tried to use a Window ant set it not opaque and rewriting its paint method but it paint the background color although I leave the paint method empty. Anyone knows how to make this?
I've done this. Easiest way: Make a component that overrides JPanel. Have it paint the image into itself during the "paint(...)" function. Then set that component to be the content pane of a JFrame via "frame.setContentPane(picturePanel);". From there use the JFrame as normal.