Results 1 to 3 of 3
  1. #1
    sarwar1234 is offline Member
    Join Date
    Sep 2010
    Posts
    56
    Rep Power
    0

    Default How to create a Popup window

    Hello....

    Can any body let me know... how to create a popup window in Java program...

    The popup window that appears with the message "Do you want to save the report " and two buttons "Yes" and "No"

    and Then When we press "Yes", another window opens to let you Browse to the destination where you want to save the file.....

    I am trying to use the Popup class but I am getting confused with the parameters "component" in the constructor.... and how to pass them...

    Many Thanks.... :)


    Best Regards,
    Sarwar

  2. #2
    javastuden's Avatar
    javastuden is offline Senior Member
    Join Date
    Nov 2009
    Posts
    157
    Rep Power
    5

  3. #3
    sarwar1234 is offline Member
    Join Date
    Sep 2010
    Posts
    56
    Rep Power
    0

    Default

    Hello...

    I have used the JFrame for that....
    A JPanel with buttons and all that....


    Thanks

Similar Threads

  1. Replies: 3
    Last Post: 11-15-2011, 12:58 AM
  2. Java Popup Window & Url Query String Value
    By Rivelyn in forum New To Java
    Replies: 4
    Last Post: 01-20-2011, 05:03 AM
  3. Replies: 1
    Last Post: 08-18-2010, 07:20 AM
  4. Javascript to generate popup window
    By vrk in forum Advanced Java
    Replies: 3
    Last Post: 03-20-2009, 08:20 AM
  5. how we get popup window in java
    By baserohit in forum Advanced Java
    Replies: 1
    Last Post: 03-22-2008, 04:39 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •