We are trying to customize a JOptionPane generated JDialog to have rounded corners. We have a JPanel implementation that has rounded corners. I am unable to find a way to integrate the rounded corners implementation into the JOptionPane/JDialog.
It would of great help if some one can point me into how I can fit the JDialog into a JPanel or some other way to do this.