Im using JOptionPane.showConfirmDialog()
to create a window where Im asking, if the user really wants to close the program. I do not want to create for that window a new JDialog possibly in a new class which would be too complicated maybe.
Because Im often using a png-picture saved as a JLabel to be the background of the opened window, I wanted to ask, if there is a possibility to use a JLabel saved png-picture as background of the showconfirmDialog? Or is there any other possibility to change the value of the opened confirmDialog-Window such as Background-Color etc.?