I am using JOptionPane.showConfirmDialog(..) to display a message where sometimes the message is so big that it displays the dialog with buttons not visible properly to the user. In such cases the message should get wrapped and should appear in the scrollbar.
Is there any way to wrap the message and display properly.
Or Should we have to write out own dialog box for acheiving the same.