open new window

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rose22
    New Member
    • Aug 2007
    • 1

    #1

    open new window

    I want to open new small window on existing window and after some time it should close automaticaly.

    what should i do?
  • sumittyagi
    Recognized Expert New Member
    • Mar 2007
    • 202

    #2
    Originally posted by rose22
    I want to open new small window on existing window and after some time it should close automaticaly.

    what should i do?
    Hi rose22,
    Welcome to TSDN. You are talking about browser window or GUI application(Swi ngs/AWT).

    Comment

    • r035198x
      MVP
      • Sep 2006
      • 13225

      #3
      Originally posted by rose22
      I want to open new small window on existing window and after some time it should close automaticaly.

      what should i do?
      "new small window" - JDialog
      "on existing window" - public void windowClosing (WindowEvent wE)
      "after some time it should close automaticaly" - Thread.sleep(so meTime)

      Is that what you're looking for?

      Comment

      • gaya3
        New Member
        • Aug 2007
        • 184

        #4
        Originally posted by rose22
        I want to open new small window on existing window and after some time it should close automaticaly.

        what should i do?
        Hi,
        using javascript u can do that...Followin g script ll work fine..
        <script>
        setTimeout('win dow.close()',50 00);
        </script>

        -Thanks & Regards,
        Hamsa

        Comment

        Working...