Opening more than one modal dialog for a single parent using Swings

I have a parent frame to which I opened a modal dialog on that and after that there is a situation for me to open another modal dialog for the same parent window. If I have two modal dialogs opened for the same window, I am not able to click any of the modal dialog(i have only option to click the 'cross symbol' on the top of the dialog and come out). I am using JOptionPane
Is is possible to open 2 modal dialogs for the same parent?

Hi,
try to use JDialog with the; there are different constructors for the JDialog one of them does not does not block the user input to other windows when shown. JDialog(Frame parent, boolean modal) in the case of modal assign it to "false" which means will not block ; refer to API for ModalityType enum class
Regards,
Alan Mehio
London,UK

Similar Messages

  • More than one entity found for a single-object find method

    Hi everyone...
    I have this error when my webservice is running..I don't know what it means and what would be the best solution..
    <pns:message>More than one entity found for a single-object find method.</pns:message>
    it throws an Exception..
    Thanks!

    = More than one row found in a DB with the "unique" key supplied...
    Your method is returning an object where it should return a collection ?
    Enjoy

  • How to add more than one JSP file for a single JSPDYNPage component

    Hello Everyone,
                           I am creating one portal application which involves JSPDYNPage component, while creating this component one JSP file is also created. But i want one more JSP file for my application ...i.e- for the same JSPDYNPage component. can anybody tell me how to create one more JSP for the same component.
    Thanks
    Chetan Deshpande

    Hi Pooja,
                 I tried the way u said, but when i try to create it(i.e- right click on pagelet folder & then new---> other......the way u said.) it asks for JSP file name but finish button is disabled even after entering the JSP file name.....is it that i am doing something wrong....please guide me for this & one more thing it asks for folder name also ...where to store that file....but when i try to enter anything.It doesn't show or doesn't allow me to do so
    Thanks
    Chetan

  • Firefox won't let me open more than one window at a time. how do i fix the problem

    Firefox won't let me open more than one window at a time. It use to allow me to open multiple windows before but for no apparent reason it stopped. I uninstalled it and re-installed but I'm having the same problem. How do I fix the problem
    == This happened ==
    Every time Firefox opened
    == several days ago

    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]
    If it does work in Safe-mode then disable all your extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    You can use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    You have to close and restart Firefox after each change via "File > Exit" (on Mac: "Firefox > Quit")

  • How can I maintain more than one contact person for a supplier

    Hi
    As per our business requirement , How can I maintain more than one contact person for a single supplier in SRM?
    How these contact persons are supposed to log in to a portal with different user id and passwords and access the bids for same supplier.
    we are in SRM 7, and currently we are creating contact person throug customised BDC.
    please advice.
    Thanks & Regards
    NITIN
    Edited by: nitinkk on Sep 9, 2011 10:22 AM

    Dear Yaniv,
    Thanks for your information,
    I am able to create  users But my problem is How these contact persons are supposed to log in to a portal with different user id and passwords and access the bids for same supplier ? Is there any kind of maping is available for the user/ contact person to the supplier no.??
    Thanks & Regard
    NITIN

  • Upgraded to iOS 6 and now I can't open anything in the kindle app? I have to say that I have had my ipad3 for 6 months and intensely dislike the problems with using it. Also is there any way of opening more than one screen as it is hopeless otherwise?

    I Have had my iPad for 6 months as I cannot access my work emails using windows. I have to say that it is the most unhelpful device I have ever used and although it looks like there isn't an answer for some of the questions I have asked below, I thought I would try!
    1) I have upgraded to ios6 and the kindle app will open but crashes and disappears when I try to access a book?
    2) is there any way I can open more than one page at a time, as opening one at a time is hopeless?
    3) Is there any way you can replicate the right click function on word? As pasting and copying on the iPad is irritating to say the least!
    4) why can't my Samsung 11 phone connect to my iPad via Bluetooth? A they can't seem to 'see' each other? I may have turned a setting off when I was recently abroad and didn't want huge roaming charges.
    5) Why do the submit buttons on some websites not work and how can I get them to? I never have a problem with windows, but it is often a problem with the iPad.
    6) I have several websites which I have built and usually upgrade on the windows desktop, usually through Internet explorer, but I can't access the sites properly on the iPad (I can see them but can't alter them) and when sending emails through the websites they won't show the page and I can't navigate the page (the size of the email page is bigger than the iPad screen, but I can't either shrink the page to size or move the page around as you normally would on the pad, any ideas?
    7) finally, when roaming abroad recently, I had no problems using the wifi, but when trying to use the cellular data (using the roaming function) I could not get it to work? The ipad seemed to be connected to the network with no problems, but wouldn't actually update the emails? I tried turning it on and off, but that didn't make a difference. My kindle and mobile phone (both also on 3G ) worked great, it was just (as usual) the ipad playing up.
    8) when wanting to alter part of a sentence, I can't always get the cursor in the right place? Sometimes it is simple the wrong line, but often it will only go at the end or start of a word and not where I want it. Is there any way of making it more exact? Again I never have a problem with moving the cursor on windows, either by mouse or on the touch screen function on windows 7. Any ideas? As after pressing the screen multiple times I just want to throw it out of the window!
    IT might just be that I don't have the correct settings (I am a technophobe) but I absolutely hate the iPad and only have it for work emails, it is so annoying that I can get my mobile phone and kindle3g to work fine, but always have problems with the iPad. I am sure it could be good (and for reading emails on the go in the uk it is great, as I like the key board) but it just seems to make everything else difficult.
    i Hope you can help and sorry for asking questions others have, but I am just hoping that something new might have been developed!
    thanks,
    K
    Message was edited by: K Paton

    1) I have upgraded to ios6 and the kindle app will open but crashes and disappears when I try to access a book?
    Try rebooting your iPad, that should fix he issue. I that doesn't work, delete the app and re-download it.  The Kindle books should all be in he Kindle cloud services and you can get them again. I have an iPad2 w/ Kindle app and it works just fine - no issues.
    2) is there any way I can open more than one page at a time, as opening one at a time is hopeless?
    Page as in a kindle book way? turn iPad to landscape position from portrait position. If, however, you mean open more than one application at a time, then no. And not hopeless, as it takes a bit of time to get used to, going from a desktop/laptop format to tablet format.
    3) Is there any way you can replicate the right click function on word? As pasting and copying on the iPad is irritating to say the least!
    It's actually fairly easy. Press down on the word, then you can expand by drawing your finger to cover word/sentence/paragraph/page, hit select or select all then it gives you the option to cut, copy, paste, define. If you want to use a word processing app on the iPad, Pages is a good application.
    4) why can't my Samsung 11 phone connect to my iPad via Bluetooth? A they can't seem to 'see' each other? I may have turned a setting off when I was recently abroad and didn't want huge roaming charges.
    It's the connection on your phone. Samsung Galaxy SII? Android software?  What you have to do is go to the phone's settings and connect via wireless, not Bluetooth. Go to System Settings (on phone) and under Wireless and Networks click 'more' and go to the Tethering and Portable Hotspot option. Set up your mobile wifi hotspot,  name it though it will probably come up with 'AndroidAP', choose a WPA2 security level and put in a password. Go back to previous screen and turn on 'Portable Wi-Fi Hotspot' box. Then on your iPad in the Settings - Wi-Fi section, it should then recognize your phone for tethering. If it's a Windows Phone 7,  I don't know the layout of that software, but presumeably similar.
    5) Why do the submit buttons on some websites not work and how can I get them to? I never have a problem with windows, but it is often a problem with the iPad.
    Sometimes the issue is with the website design, not all websites are optimized for mobile devices - not just iPad but also Android devices. It happens. They're getting there, but occasionally the page might need a refresh.
    6) I have several websites which I have built and usually upgrade on the windows desktop, usually through Internet explorer, but I can't access the sites properly on the iPad (I can see them but can't alter them) and when sending emails through the websites they won't show the page and I can't navigate the page (the size of the email page is bigger than the iPad screen, but I can't either shrink the page to size or move the page around as you normally would on the pad, any ideas?
    It depends on what you use to build the websites on the computer. Recommend a free program on the computer called CoffeeCup Free HTML Editor. I don't recommend using IE period; Firefox or Chrome are my choices on Windows machines. I have two websites that I manage, both using this program. I'm assuming that when you mean you can't access the sites on the iPad you mean to update them? Ostensible there are apps to let you do this. What format are the sites? Without seeing what exactly you mean and what you want to do, it's hard to explain.
    As for seeing full page while emailing within a site, turn iPad to portrait mode, and try to finger-pinch touch the screen to see if that will bring the fuller page  into view. Other option is opening a second tab with same website and just go between tabs to reference material.
    7) finally, when roaming abroad recently, I had no problems using the wifi, but when trying to use the cellular data (using the roaming function) I could not get it to work? The ipad seemed to be connected to the network with no problems, but wouldn't actually update the emails? I tried turning it on and off, but that didn't make a difference. My kindle and mobile phone (both also on 3G ) worked great, it was just (as usual) the ipad playing up.
    If you were outside the US or Canada, my guess is the problem lies within the SIM card in your iPad. If you were outside North America, there are different band levels - I'm guessing you have a SIM thats locked to a particular provider. Band level frequencies differ per country/continent, so a SIM card that will work in Canada/US will not likely work in UK/Europe/Asia/Australia, etc. you will be able to get your emails again when back on a wifi network. Mobile phone may have a different type SIM card (GSM/HSPA) from your iPad SIM. Also, check your email settings.
    8) when wanting to alter part of a sentence, I can't always get the cursor in the right place? Sometimes it is simple the wrong line, but often it will only go at the end or start of a word and not where I want it. Is there any way of making it more exact? Again I never have a problem with moving the cursor on windows, either by mouse or on the touch screen function on windows 7. Any ideas? As after pressing the screen multiple times I just want to throw it out of the window!
    Moving the cursor on a sentence is a matter of putting your finger on the screen where you want it. It's exceptionally easy to do. I'm using the Notes app to write this whole segment and I just need to put my finger where I want to change things and presto it's ready for me to change where I want it.
    Here's a solution: sell your iPad (after you wipe your data off it) to someone who will appreciate it, and put your money towards the Windows Surface Tablet out later this year/early next year, where you can (reportedly) connect a mouse to it. It will have some of the Windows 7/8 functionality that you're more familiar with, or get a netbook.
    - Ceridwyn2

  • Photoshop can't open more than one graphic at a time without crashing

    I get the error:
    The instruction at "0x7c918af2" referenced memory at "0x00000010". The memory could not be "written".
    Anytime I try to open more than one image in Photoshop at a time, regardless of how I do it - doesn't matter if I choose the image and "open in photoshop" or if I am in photoshop and go to "file/open".
    It's Photoshop CS3. I have already uninstalled, restarted the computer and reinstalled. I tried to "repair/change" from Windows, but it asks for the CS3 cd and then CS4, which I don't have since I'm using CS3. 
    This is quite frustrating as it would be nice to be able to merge photos and the myriads of other things you can do with multiple images at once, if opening them does not crash your program.

    mikeobe wrote:
    OK, kinda slooow here, I hope I'm not trying your patience!? If I understand you correctly, install dummy drivers and then the drivers that came with my printer, Designating NO default printer! Then when I need to use the printer I will have to declare which one each and every time?
    Or, just intall by new printer but do not Delcare it as the Default printer, I guess in this instance there would be NO default printer?
    You may not even have the problem!
    Have you installed the new printer yet?
    There are many more people who don't see it happen than those who do.
    PS: there is always a default printer.

  • Can i open more than one Resultset object

    hi in my program i have to retrive data from three table and the data from three
    table i have to use in another one
    i wanna know that can we open more than one ResultSet object within one
    try{
    }catch{] block ( i means ResultSet rs = st.excuteQuery(query) more than one time for different -different tables)
    or there is any other way to do this

    You can only have one active result set per statement at a time.
    Depending on the driver you are using you might be able to have more than one active statement (and result set) on one connection. Or not.
    Try catch has nothing to do with that.
    If you are nesting result sets then it is likely you should be using a join (SQL) which would then only require one result set.

  • How can others open more than one form? [Was: Sandra]

    How do you use Forms Central? I am the only account that can open more than one form. I have added all the people in contacts. When they login, they have the upgrade option for more than one form. We have an order number and end user id. Thanks for the help.

    Hi,
    It sounds like you have a paid account and the other users have free accounts.
    You will have to share the form with the other users, please see this link for more detailed on how to share a form with others:
    http://forums.adobe.com/docs/DOC-3351
    All the free account users should be able to open all the forms that you have shared with them. Free users can only create one form on their own.
    Hope this helps,
    Thanks
    Lucia

  • Can I open more than one instance of CC5.2?

    In my experience, I have not been able to find a way to open more than one instance of CC5.2.  If I want to run an SOD user analysis and an SOD role analysis, for example, I have to run one and wait for the results to return before I can run the next analysis.  
    If I open a new instance of Internet Explorer and type in the url for CC5.2 while CC5.2 is already running in a separate instance, it overwrites whatever is running and reopens CC5.2 all over again.
    In CC4.0 I was able to open multiple SAP sessions and run multiple SOD reports.  I understand 5.2 is a web app, but it seems the code should be smart enough to allow me to open multiple IE instances to run multiple analyses. 
    Am I missing something?
    Thanks,
    Sandy

    Hi Sandy,
      What about option to run your analysis jobs on the background ?
      You can still be in your IE session, but schedule several analysis to run on the background. On completion of the jobs, you'll be able to check output results for each of them.
      Advantage of this is that it also doesn't depend on your link between your machine and CC server which could be an issue for the foreground jobs.
    Best regards,
    Laziz

  • Using Maverick, how is it possible to open more than one calendar window?

    Hi, I'm using Maverick 10.9.1
    My question is: how is it possible to open more than one calendar window? i would like to have on the right my personnal calendar dates and on the left, my company calendar.
    Many thanks in advance for your help!
    ph

    See if the section on group calendar helps.
    http://www.dummies.com/how-to/content/basics-of-calendar-in-os-x-mavericks.html

  • Why can I no longer open more than one tab in Firefox? Has Firefox been saboutaged by an update by Microsoft?

    I have been using Firefox for over 2 years and like the (unreliable) Windows Explorer before it I took for granted the ability to open multiple tabs. 2 days ago my computer downloaded some updates (even though I try to stop it) and after the compulsary restart I cannot open more than one tab in Firefox, even though the browser apparently invites me to. Is this an attempt by Microsoft to saboutage Firefox to build up support for its own product?

    Not Microsoft, it is the Ask toolbar. Try uninstalling the Ask toolbar and it should work again. There is a compatibility issue with the Ask toolbar and the current version of Firefox.

  • Can't Open more than One Internet Browser at a Time

    I bought a Toshiba laptop this past spring which I use, offline, at the office.  i've had a problem with it since the day I hooked it up to the internet the first time.  I can't open more than one internet browser at a time.  Windows 7.  I had need to get online with it today and had forgotten about this problem.
    I called Toshiba and they wanted to sign me up to some fee-based service.  They said, without checking anything (or even asking me who I am, or what my computer serial number is) that I had a virus.  Is there a virus going around that causes this problem?  IF so, how could I possibly get it considering I bought this computer in a sealed box?
    My AV software does not pick up any viruses.  I use Avast.
    Can anybody help me? 
    Thanks.

    There's a handy reference for keyboard shortcuts here:
    http://windows.microsoft.com/en-US/windows7/Keyboard-shortcuts
    That Windows key turns out to be useful, try Windows-D to show the desktop
    To open a new browser window, Ctrl-n while in the browser will probably work, or it your browser supports tabs, try Ctrl-t

  • Can you open more than one ER file at a time?

    I was wondering if you can open more than one file at a time in ER?
    I attempted it, however, it does not appear that I can do that like other Adobe products.  (If not, it would be  nice to have the ability of working, or opening more than one file at time within ER.)

    Thanks for the suggestion!  We definitely agree that having multiple files open is a key enhancement and have it in our roadmap for future updates.

  • Why am I unable to open multiple tabs in the browser? It all of a sudden refused to let me open more than one at a time.

    While on the internet, I tried to open two tabs, but it won't open any more for me. I tried right clicking and opening that way, but it won't let me. I removed Mozilla Firefox from my computer and re-downloaded it, but it still won't let me open more than one tab. It's happened to two of my computers now, and nothing works for either one except opening in safe mode every time.

    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]
    If it does work in Safe-mode then disable all extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    * Use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    * Close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")

Maybe you are looking for

  • The new php_oci8 don't want to work at all

    I'm about to throw my server by the windows (from the 6th story). I want to run that new extension with all those new features. I installed the instantclient 10.2 with PHP 5.1.2 and Apache 2.0.55 on a Windows XP SP2 box. Everything is installed fine,

  • Since upgrading to Yosemite mu USB 3 to Ethernet adapter not working

    I just recently (earlier today) upgraded to Yosemite 10.10 from Mavericks and now my USB 3.0 to ethernet adapter is not working.  I see a bunch of people complaining about this online but I can't follow the solutions.  They seem to be playing with pl

  • Mac Pro and multiple monitors

    I have a new Mac Pro (Late 2013) even though I bought it new in 2015. I have three monitors I'm trying to run on it. 2 are older Apple Cinema HD Displays. Display Type: LCD Resolution: 1680 x 1050 Pixel Depth: 32-Bit Color (ARGB8888) 1 is a Wacom 21U

  • Transferring One Album From My Computer To My iPhone

    I have an iPhone 5 and am using the Cloud for backup. I recently bought a CD and put it in my computer's iTunes. Then I tried to sync it to my iPhone, just that one album. I was told that my iPhone was synced with another device. How do I tell which

  • Stuck in "Updating Assets" window

    Stuck in "Updating 3 assets" window when opening site. I have to force close. Done that numerous times.   I've restarted computer, same thing.   Tried opening a recent backup version, still "updating".  ( My Muse is not up to date... waiting for xmas