I am trying to set a .jpg as the background to a JOptionPane and I can't figure it out.
Please Help
Printable View
I am trying to set a .jpg as the background to a JOptionPane and I can't figure it out.
Please Help
Subclass JPanel and override paintComponent(...) to draw the image. Add components as required and pass an instance of the subclassed JPanel as the message argument to the JOptionPane's static method.
db
Moved from New to Java.
db