Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Applets and the fly likes To resize the popup window and activate the close button Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "To resize the popup window and activate the close button" Watch "To resize the popup window and activate the close button" New topic
Author

To resize the popup window and activate the close button

maja neskovic
Ranch Hand

Joined: Apr 28, 2010
Posts: 134
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?

Greetings!
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: To resize the popup window and activate the close button
 
Similar Threads
Popup Question
pop up window
open popup window and insert chinese
popup window
how to close a popup window