Results 1 to 2 of 2
  1. #1
    epyon158 is offline Member
    Join Date
    Sep 2012
    Posts
    1
    Rep Power
    0

    Default Mandatory Dialog Box

    Hey everyone,

    I'm trying to create a dialog box that a user must click "ok" on to continue doing anything on their computer.
    Basically, I am writing a web tester and it causes a browser to open, if the user is unfamiliar with the web tester they would probably close the browser.
    So, I have a dialog box that appears to say that you shouldn't close the browser.
    I want to go one step further and make it so that even if the user tried to close the browser, they would first have to acknowledge the dialog box by clicking ok.
    Does anyone know a way of doing this?

    If anyone needs a clearer explanation please ask.

    thanks,
    Matthew

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

Similar Threads

  1. mandatory text box
    By szpt9m in forum SWT / JFace
    Replies: 1
    Last Post: 07-23-2012, 07:24 PM
  2. dialog box
    By blindfolded916 in forum New To Java
    Replies: 5
    Last Post: 07-11-2010, 12:44 AM
  3. Dialog
    By JavaLerner in forum AWT / Swing
    Replies: 27
    Last Post: 07-07-2008, 12:29 PM
  4. Example of SWT Dialog
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 01-09-2008, 01:01 PM

Posting Permissions

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