Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

To resize the popup window and activate the close button  RSS feed

maja neskovic
Ranch Hand
Posts: 134
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!