To resize the popup window and activate the close button
posted 7 years ago
I am making an applet usint AWT and I'm having a problem with popup window. I want to make a button "About..." which will open popup window with some information about me. I have made something according to the book "Java in 21 days" but it says that I should make two buttons - open and close... I would like to use only one button which will open my dialog box and to activate the close option on the window, but I don't know how. I also don't know how to resize the popup window. Can anybody help, please?