Just look at the documentation for JOptionPane. You'll find a standard creation pattern (toward the end of the class description) on how to create a JOptionPane directly. You can then customize the dialog as you wish. SAF
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: Can i add a radio button to a JOptionPane??