Hello. I would like to ask a question regarding java input dialogs. What i want to do is when the dialog box closes and then opens again, the last input in the dialog box to appear in the text field, like it happens sometimes with password fields. I've been trying to find a code example in the web but no luck. Can anyone offer advice? Thank you for reading this.