Results 1 to 7 of 7
  1. #1
    riddick is offline Member
    Join Date
    Nov 2009
    Posts
    3
    Rep Power
    0

    Default JDialog appearing in the toolbar

    I have a modal JDialog (it MUST be modal) and I need to see it appearing in the Windows toolbar.
    Can anyone give me suggestions?

    Thanks

  2. #2
    RamyaSivakanth's Avatar
    RamyaSivakanth is online now Senior Member
    Join Date
    Apr 2009
    Location
    Chennai
    Posts
    811
    Rep Power
    6

    Default

    show your code.
    Ramya:cool:

  3. #3
    r035198x is offline Senior Member
    Join Date
    Aug 2009
    Posts
    2,388
    Rep Power
    7

    Default

    That sounds unnatural. Modal dialogs are supposed to pop out in front of everything and demand attention not to be shyly embedded as part of the Windows tool bar.
    Last edited by r035198x; 11-06-2009 at 11:56 AM. Reason: widows -> Windows

  4. #4
    riddick is offline Member
    Join Date
    Nov 2009
    Posts
    3
    Rep Power
    0

    Default

    This JDialog is a lock-out dialog, which appears when a time-out expired. It ask to insert a pwd if you want to unlock the application.
    Since it is possible that when my app is running, the user works with other apps, the lock-out dialog can be "ignored" by user, and when he want to come back to my app, he should be able to see this dialog into the toolbar. (it is a product requirement, I cannot change it!!)

  5. #5
    r035198x is offline Senior Member
    Join Date
    Aug 2009
    Posts
    2,388
    Rep Power
    7

    Default

    Of course you can't change it. We swore secret oaths that we will implement as per requirements or else offer our privies for daylight defenestration. Was only trying to understand the requirement better.

    Now then, what do you mean by Windows tool bar? Do you mean your application's menu bar? Should users see this log in box even if they are working on other applications? Did you mean the system tray?

  6. #6
    riddick is offline Member
    Join Date
    Nov 2009
    Posts
    3
    Rep Power
    0

    Default

    Yes, I mean the Windows taskbar status area, in which the user can see the running applications.

  7. #7
    r035198x is offline Senior Member
    Join Date
    Aug 2009
    Posts
    2,388
    Rep Power
    7

    Default

    The link I posted above explains what's possible when tinkering with the system tray.

Similar Threads

  1. jfilechooser not appearing
    By letter5 in forum New To Java
    Replies: 5
    Last Post: 02-15-2009, 04:45 PM
  2. why isn't my combobox appearing on my frame?
    By matpj in forum AWT / Swing
    Replies: 9
    Last Post: 01-29-2009, 03:46 PM
  3. XTerm window appearing in full screen swing app
    By clarose in forum AWT / Swing
    Replies: 1
    Last Post: 11-17-2008, 10:56 PM
  4. tomcat resource bundle tab not appearing??
    By freddieMaize in forum NetBeans
    Replies: 2
    Last Post: 05-25-2008, 09:15 AM
  5. Log messages are not appearing in my log file
    By indu_raj in forum Java Servlet
    Replies: 1
    Last Post: 08-08-2007, 11:59 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
  •