panel2.add(description, BorderLayout.CENTER);
panel.add(panel2, BorderLayout.SOUTH);
}
- int reply = JOptionPane.showInternalConfirmDialog(parent, panel, title,
- JOptionPane.OK_CANCEL_OPTION);
+ int reply = JvOptionPane.showInternalConfirmDialog(parent, panel, title,
+ JvOptionPane.OK_CANCEL_OPTION);
if (!parent.requestFocusInWindow())
{
System.err.println("Bad focus for dialog!");
}
- if (reply == JOptionPane.OK_OPTION)
+ if (reply == JvOptionPane.OK_OPTION)
{
accept = true;
}