SetVisible does not have same functionality as deprecated show

I want to remove deprecated methods from my code, but I'm a bit stumped. I have a modal dialog that uses Dialog.show, which does not return until the dialog is hidden or disposed. This blocks processing until the user responds to the dialog. The suggested replacement for Dialog.show is Component.setVisible, but it does not block until the dialog is disposed. How should I wait for the user to respond to the dialog?

I'll give that a try, but I'm not optimistic. I don't see why Component.setVisible will care about Dialog.setModal. I also don't understand why the implementation of JOptionPane would still use Dialog.show.
Anyway, thanks and I hope you're right.

Similar Messages

  • My Email does not have any functions on the bottom bar?

    My Email does not have any functions on the bottom bar?
    I open an email and there no functions to delete forward or reply with.  Anyone have an idea?

    Hi
    Just to clarify what your saying under menu > settings > Connectivity the only option you can see is Bluetooth? There are no other options to select?
    Because under the connectivity menu you should be able to Network, WiFi, Bluetooth, USB, Settings, Connection manager, Mobile data tracker, Data Transfer, Video sharing, Admin settings and play via radio.
    All the options should be visible on the connectivity menu on a N8 with Nokia Belle installed.
    If you find this post helpful, a click upon the white star at bottom would always be appreciated.
    If it also solves your problem, clicking ACCEPT AS SOLUTION below it will benefit other users!

  • HT4623 My iPhone 3G does not have update function in it What do I Do?

    My iPhone 3G does not have an update function in it. I want to update my software, What do I do?

    An iPhone 3G can only be updated to iOS 4.2.1...that's the end of the line for that model, and an iPhone 3G can only be updated to iOS 4.2.1 using iTunes. Software update, directly on the phone, is not available for the iPhone 3G.

  • Music app does not have the function to change the audio source.

    I use to change my audio source in my music app with the icon that looks like a triangle going into a rectangle i think it is call airplay, but it not there any more and what it is weir is that others app does have it so if i change my audio source in a video online it will change it in my music too..... Well i hope i could explain my self clear enough. Just put the airplay icon back in the music app. Thanks for your attention.
    Best regards
    Roger

    iTunes Radio is currently only available in the US - if you are in the US then try logging out and back into your account via Settings > iTunes & App Store, and if that doesn't fix it then try a soft-reset : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.

  • I have Mac OS X 10.6.8 and am trying to change a printer to black and white/gray scale. All the posts I find refer to a button for Paper Quality. This does not appear on my options. Just paper handling which does not have a function to change from colour.

    I cannot change the printer settings on my MacBook Pro to gray scale from colour. there is no function for Paper quality, just paper handling. any suggestions greatly appreciated - as long as they work!!

    Was the printer instance properly configured when created, so the print subsystem picked the correct PPD and knows of all the device's capabilities? If in doubt, erase and create anew so you can confirm that the printer maker/model/version is getting correctly identified. This may trigger Software Update to download & install a printer update. The menus available on the print dialog depend on what the OS knows the printer can do. For instance, this is what I get in Safari's print dialog when using an HP 2550Ln color laser at the office:

  • Does NetWeaver have same functionality like WLST in WebLogic?

    [WLST|http://download.oracle.com/docs/cd/E12840_01/wls/docs103/config_scripting/using_WLST.html] is powerful and convenient script for config WebLogic Server. I am wondering if NetWeaver has something similar to it?
    Thanks,
    -Jian

    Here I would like specify my question mnore clearly,
    CREATE TABLE t(
    line NUMBER(3),
    site VARCHAR2(4),
    phase VARCHAR2(5),
    test VARCHAR2(25));
    INSERT INTO t VALUES (1, '0100', '*','1111111111111111111111111' );
    INSERT INTO t VALUES (2, '0100', '=','2222222222222222222222222' );
    INSERT INTO t VALUES (3, '0100', '=','3333333333333333333333333' );
    INSERT INTO t VALUES (4, '0100', '*','4444444444444444444444444' );
    INSERT INTO t VALUES (5, '0100', '=','5555555555555555555555555' );
    INSERT INTO t VALUES (6, '0200', '*','6666666666666666666666666' );
    Here I want to retrieve the 'line' column information in ONE line way
    select line from t I want the result is like '1,2,3,4,5,6'
    Any generous help would be greatly appreciated!!!

  • Apple told me that my iPhone 4 does not have the possibility to store sent e-mails. I can not believe that, but my iPhone has a box for sent mails that is always empty. How can my iPhone store sent e-mails?

    The Apple helpdesk told me that my iPhone 4 does not have the function to keep sent mails stored. I cannot believe that. My iPhone 4 has a Sent box, I have checked the Sent box in Configuratieo--> E-mail, ...Calender..,but the Sent box is always empty after I have sent an E-mail. I know that the E-mails arrive at their destinations. How can I activate the Sent box?

    lol the person you talked to at Apple was not very bright.
    Of course you can have sent items in your mail on the iPhone 4. I have mine there all the time.
    Sounds like you might have issues with the software.
    I recommend trying a reset, send email and see if that goes to the sent items directory
    If not do a restore.
    #1: Reset: http://support.apple.com/kb/HT1430
    #2: Restore: http://support.apple.com/kb/HT1414

  • ADE 2.0 does not have functions of divided page and single page- like ADE 1.7?

    I have a question for specification between ADE 1.7 and ADE 2.0.
    ADE 2.0 does not have icon buttons for "divided two-page" and "single page" like ADE 1.7? Since ADE 1.8 Preview version was temporarily available to download, there has been disappeared such functions....

    There are lots of bugs in ADE2.0 (and 2.0.1).  Try replacing ADE2.0 with the older but more reliable v1.7.2.
    (You can have them both installed at once if you like.)
    Version 1.7.2, it is a little difficult to find, available on Adobe site for Windows and for Mac.
    http://helpx.adobe.com/digital-editions/kb/cant-install-digital-editions.html
    The forum software is sometimes corrupting the link above.  There shouldn't be a blank in 'editio ns.html'.  The following redirects to the same page: http://tinyurl.com/diged172
    Some people have found ADE trying to upgrade automatically. 
    It appears (not 100% sure) that if you install ADE2.0 as a new install (not as an upgrade) that your 1.7.2 will continue to run.
    Probably best to say no if 2.0.x installation asks if you want to migrate your library.

  • I was wondering why the iPhone 5 has the option for a battery percentage and the iPod touch 5g doesn't? I mean... they are almost both the same thing... just the iPod does not have the phone.

    I was wondering why the iPhone 5 has the option for a battery percentage and the iPod touch 5g doesn't? I mean... they are almost both the same thing... just the iPod does not have the phone.

    One likely reason is the % battery is not that accurate because of the smaller battery capacity in the iPod compared to iPhone and iPad. Users why use a % battery app post that the % reading changes a lot.

  • Using a dll function that does not have any inputs from a VI

    Hello all, I'm very new to Labview, I have wraped a dll library using the LVlib wizard and now I am trying to use it in a project.  I have a function that does not take any inputs or return any thing except that a struct is populated with some status information as part of the call.  I am able to draw a StartInterface VI because my void startInterface(const char* configFile, struct status_struct* status) takes the location of a configutation file as an input. But I can not figure out how to connect my Call Library Node to my a function vi that does not have any inputs ( void shutdownInterface(struct status_struct* status)). 
    Note that the status struct is deffined to be only and out put at the creation of the LVLIB.
    Thanks, Mike

    Thanks for the responses guys:
       I think I am aware of the conotations of inputs and outputs when I created the lvlib I specified the argument  struct status_struct* status as only an output instead of the default of input and output.
    I do not think that I am doing anything as complex as function callbacks. My immediate goal is to have an executable (I have application builder) with two buttons and two three text fields one text field for the input of the config file, two text-fields for a cstring that is contained in the status struct; one button to start the interface and one button to stop the interface. 
    This is in all likely hood a case of my self being too dense and missing something fundimental ;-)  I just can't figure out how to wire the shut down method after I've configured the call library node. See the attached pictures:
    Attachments:
    Start.jpg ‏7 KB
    shurtdown.png ‏9 KB

  • HT1841 How to disable some of the automatic function from my bluetooth (jabra) while iphone does not have the capacity to set up the bluetooth property like BB?

    How to disable some of the automatic function from my bluetooth (jabra) while iphone does not have the capacity to set up the bluetooth property like BB?

    Sorry. You're not making sense. Please re-phrase the question or post in your native language.

  • Does DPS have GPS functionality? If not do they plan to add it and when?

    Does DPS have GPS functionality? If not do they plan to add it and when?

    Here is the sdk.. https://developers.google.com/maps/. Or do a search on stackoverflow.com and people have some examples of how to use it.

  • I want to import bookmarks from Safari on the Mac same computer. Firefox help says Menu Bar/File/Import. My Firefox does not have File/Import option. How do I import bookmarks from Safari to Firefox?

    I want to import bookmarks from Safari on the same Mac computer. Firefox
    Help says use Menu Bar/File/Import.
    My Firefox does not have File/Import option.
    How do I import bookmarks from Safari to Firefox?

    Import and Backup is the third (last) button on the toolbar in the Bookmarks Manager (Library) that looks like a star.<br />
    Other platforms show the text label, but on Mac you only see toolbar icons.

  • Function does not have a body

    Hello, i have a problem running this program. an error "function does not have a body" pops up, do you guys know how i can fix this?
    stop();
    import flash.events.MouseEvent
    start_.addEventListener(MouseEvent.CLICK, onClick);
    function onClick(event:MouseEvent):void
    gotoAndStop(1,"Scene 247");
    gotoAndStop(1,"Menu");

    no curly brackets holding the code:
    try this
    function onClick(event:MouseEvent):void {
    gotoAndStop(1,"Scene 247");
    gotoAndStop(1,"Menu");

  • Firefox causes crash when using Youtube explorer does not have the same effect

    firefox causes crash when using Youtube explorer does not have the same effect

    Troubleshooting extensions and themes
    * https://support.mozilla.com/en-US/kb/Troubleshooting%20extensions%20and%20themes
    Check and tell if its working.

Maybe you are looking for

  • New user needs help with HD choices

    I just found this forum and it looks like something I am going to enjoy.  I have Premiere Pro CS 5.0 and use it to process AVCHD video.  My hardware is made up of Asus P9X79 Pro, i7 3930k, 16 GB memory, and GTX 470 vid card.  I also have an SSD as my

  • Iweb and web galleries?

    i need to use a password protected program to host online albums for clients through my website. 1) i have no idea how to do this and 2) where to get it... my website is hosted through godaddy.com but is created through iweb. - i have been told simpl

  • TS4006 How to track my iPad its stolen

    My iPad 2 was stolen and I was wondering if you could help me find it

  • Table control in module program

    hi, i don't know about table control in module program.so please send the faq's ?

  • Please solve "com.collaxa.cube.engine.EngineException"

    iam using Oracle Soa11g Weblogic 10.3 i use one bpel,mediator,File adapter.Test service is successful but in the instance it shows recover needed <exception class="com.collaxa.cube.engine.EngineException"> Global retry rollback fault thrown. The curr