Hy,..
how can i set the background transparent and \"remove\" the closeoperation (marked red) ? I only want to show the card :-)
yourDialog.setUndecorated(true)should do the trick for the title bar.
yourDialog.setUndecorated(true)
For having the Frame transparent. You'll have to work on the root panel with yourDialog.getRootPane().setOpaque(false)on it.
yourDialog.getRootPane().setOpaque(false)