Taken together, they explain why you cannot always change the open or save file chooser’s approve button text: When dialogType equals OPEN_DIALOG or SAVE_DIALOG, setApproveButtonText(null); is ...