public int showConfirmFileOverwriteDialog(File outFile) { return JOptionPane.showConfirmDialog( this.getFrame(), "Replace existing file\n" + outFile.getName() + "?", "Overwrite Existing File?", JOptionPane.YES_NO_CANCEL_OPTION); }
public int showOptionDialog( Object message, String title, int optionType, int messageType, Icon icon, Object[] options, Object initialValue) { return JOptionPane.showOptionDialog( this.getFrame(), message, title, optionType, messageType, icon, options, initialValue); }
public void showMessageDialog( Component component, Object message, String title, int messageType, Object... args) { JOptionPane.showMessageDialog( component, formatMessage(null, message, args), title, messageType); }
public void showMessageDialog( Component component, Object message, String title, int messageType) { JOptionPane.showMessageDialog(component, message, title, messageType); }