I have the following Dialog box in my application. I use a JPanel to show the following components in the dialogbox but I see that the confirm buttons aren't shown well. I'd prefer to solve the problem with default dialog boxes. Is it possible to solve this problem or I need to define my dialog. If I have to define my dialog, how can I return the option values as the confirm dialog does?
I call the showConfirmDialog in this mode:
InterruptionRecoveryPanel irp =
new InterruptionRecoveryPanel(cmo);
int res = JOptionPane.showConfirmDialog(
AppJFrame.this, irp,
"Conferma della operazione interrotta!",
JOptionPane.OK_CANCEL_OPTION);