public class JvOptionPane extends JOptionPane
{
- /**
- *
- */
+ // BH 2018 no changes needed here.
+
private static final long serialVersionUID = -3019167117756785229L;
private static Object mockResponse = JvOptionPane.CANCEL_OPTION;
public static int showConfirmDialog(Component parentComponent,
Object message) throws HeadlessException
{
+ // only called by test
return isInteractiveMode()
? JOptionPane.showConfirmDialog(parentComponent, message)
: (int) getMockResponse();