closing window

Discussion in 'Java' started by Georg Andersson, May 12, 2004.

  1. hi folks

    i'm pretty new to java. so let me ask you a pretty easy question: how
    do i close the html-page that contains my applet? is it possible to do
    this with an actionevent?

    tx for any help!
     
    Georg Andersson, May 12, 2004
    #1
    1. Advertising

  2. On 12 May 2004 04:26:33 -0700, Georg Andersson wrote:

    > i'm pretty new to java. so let me ask you a pretty easy question: how
    > do i close the html-page that contains my applet?


    // implements 'user' api
    JOptionPane.showMessageDialog(this,
    "Please close the browser");

    >..is it possible to do
    > this with an actionevent?


    No.

    [ ..and don't touch my (friggin') browser. ;-) ]

    --
    Andrew Thompson
    http://www.PhySci.org/ Open-source software suite
    http://www.PhySci.org/codes/ Web & IT Help
    http://www.1point1C.org/ Science & Technology
     
    Andrew Thompson, May 13, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?U2lsZWVzaA==?=
    Replies:
    4
    Views:
    33,962
    =?Utf-8?B?U29sZWwgU29mdHdhcmU=?=
    Oct 14, 2004
  2. Patrick Olurotimi Ige

    Closing child window when opening a new Window

    Patrick Olurotimi Ige, Dec 14, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    450
    Patrick Olurotimi Ige
    Dec 14, 2004
  3. Satya
    Replies:
    0
    Views:
    439
    Satya
    Dec 15, 2005
  4. =?Utf-8?B?Vk1J?=

    Closing popup window when closing parent window?

    =?Utf-8?B?Vk1J?=, Feb 14, 2007, in forum: ASP .Net
    Replies:
    3
    Views:
    661
    Thomas Hansen
    Feb 15, 2007
  5. thomas
    Replies:
    0
    Views:
    235
    thomas
    Oct 23, 2003
Loading...

Share This Page