Creating multiple dialogs issue.  can't get events

Hey all,
I am creating a series of GUIs for my program.
The first GUI is a JPanel, and calls the second window which is a JDialog when the correct button is clicked. on the second window i create a third which is another JDialog. On this dialog, i can't click anything or do any actions unless the second window is closed. What is the reason for this, and what can i do to fix it?
Thanks
Jason

Your dialogs are probably modal and you aren't setting the owner window to the correct window. If you have a modal dialog (let's call it "MD-1") open and want to open another modal dialog "MD-2", then you have to create "MD-2" with an owner of "MD-1", otherwise "MD-1" takes precedence as the first modal window and must be closed prior to "MD-2" having modality.
Someone correct me if I'm misinterpreting the rules.

Similar Messages

  • When I try to enter a new calendar entry I get the following message: "This calendar was created by mail, you can't add events to a mail calendar" what does it mean? I never had this message before.

    When I try to enter a new calendar entry I get the following message: "This calendar was created by mail, you can't add events to a mail calendar" what does it mean? I never had this message before.

    Check which calendar you are trying it put this event on, then put it on the correct one.

  • TS4268 I am trying to facetime on my mac but keep getting the message "The server encountered an error processing registration. Please try again later." I have gotten this multiple times. how can I get around this?

    priority:
    I am trying to facetime on my mac but keep getting the message "The server encountered an error processing registration. Please try again later." I have gotten this multiple times. how can I get around this?
    i also have tried downloading "FaceTap" application to get facetime on my ipad and failed too. i thought i failed because i couldnt download latest 6.0 iOS or later. i downloaded latest software update for iOS but was 5.8 I think

    Wait until Apple fix it. See: http://www.apple.com/support/icloud/systemstatus/

  • I have a coleman Trek camcorder that creates AVI files, how can I get iMovie on my Macbook Pro to read these files?

    I have a Coleman TREK camcorder that creates AVI files, how can I get iMovie on my MacBook Pro to Read thes files?

    Try the following. there are others too
    https://itunes.apple.com/us/app/free-video-converter/id464195348?mt=12

  • HT3412 I want to create many copies of a book originally created in iPhoto. Can I get a volume discount? It is for a non profit organization. Thanks

    I want to create many copies of a book originally created in iPhoto. Can I get a volume discount? It is for a non profit organization. Thanks

    Only other users here. There is a contact us link at the bottom of every page of these forums to contact Apple
    LN

  • When creating a book how can I get all the photos from an album to show up in the order they were in the album?

    When creating a book in iphoto, how can I get all the photos from the album I want to use to show up in the order that they are in the album?  When I tried to use the option to add my own photos instead of having the program "flow" them, they showed up all mixed up.

    iPhoto puts them in the book in chronological order.  So to get your photos from an album into an iPhoto book in the same order you will need to use the Photos ➙ Batch Change ➙ Date menu option and set them all to the same date with a 1 minute time difference between each. 
    OT

  • I purchased Adobe Create PDF, annual I can't get it to convert a PDF document to Word?

    I purchased Adobe Create PDF, Annual. I can't get it to convert a PDF document to Word?
    HELP!

    Hi elsiegj,
    When you say "you can't convert," do you mean that you get an error message (if so, what is it?). Are you able to log in to ExportPDF?
    Please write back with some specifics about the problem, and I'll see what I can do to get things resolved.
    Best,
    Sara

  • Can't get events in CSharp

    I have an MFC OCX (ActiveX control) that uses the Frame API to talk to a device via CAN (pci-bus NICAN card). I get 'events' (unsolicited frames) just fine from this device from an MFC 'monolithic' application. There is a CSharp (VSNet2k3) variant that is able to use CAN to talk to these devices (uses SAME MFC OCX...), but it cannot receive these unsolicted frames. I'm pumping messages and Thread.Sleep(0) to beat the band, but they are NOT received by the OCX, so they are not signalled to my application.
    Any ideas?

    Hi George,
    this would be a question for the person you got that ActiveX control from. As of NI-CAN 2.2, National Instruments still hasn't added ActiceX controls or .NET support to the CAN driver.
    -B2k

  • I am unable to create an account.  Can't get past the user name and password bit.

    I am attempting to set my my new I-pod touch for the first time.  I can't get past the password stage.  Also, I have not found how to even connect to get it charged and started.  Can anyone help?

    Try following the instructions in the iPod Users Guide:
    iPod touch User Guide (For iOS 4.3 Software)

  • My Mac (OSX 10.9.2) Calendar (version 7) program can get events I create on Google Calendar but I can not gets events created on my mac calendar to apper on the google calendar.  How do I get this to work?

    I also notice that events I create on google calendar and events greate from my wife's calendar, while showing up on the MAC calendar program doesn't appear on either my ipad mini or my iphone.

    I also notice that events I create on google calendar and events greate from my wife's calendar, while showing up on the MAC calendar program doesn't appear on either my ipad mini or my iphone.

  • DataSocket: Multiple writers. Can't get it to work!

    I made a datasocket ActiveX WEB component in VB which allow users to control data in a VI. But if more than one computer tries to connect, I got status error "Error: Can't connect to data item, another write connection exists."
    I have configure DataSocket ServerManger, Default Reader, Default Writer, Creators and SampleGroup as "everyhost" and Predefine Data: Items, SampleNum, SampleString, SampleBool with read and write access: SampleGroup and Allow Multible Writers.
    What are I doing wrong?
    Sometimes I do not get the errormessage but there is still just one user who can control.
    I must admit I don't understand fully the DataSocket ServerManger configure part and there is not much help
    to find at NI or Datasocket sites. (It is propably to simple) What are f.x. "Predefined Data Item" Is it the name of my DataSocketReader/Writer in the VI or the name of my datasocket in the VB code?

    Multiple writers can connect to the same DataSocket item, but not by default.
    When you create a connection to an item named "test" that is not predefined, it will allow Default Readers to read and only one Default Writer to write. This is because "test" was not listed in the predefined data items (from the DataSocket Server Manager) and follows the default case.
    In order to allow multiple writers on a DataSocket item, you need to predefine the item in the DataSocket Server Manager. So in the above case:
    1)Create a new item in the Predefined Data Items and name it "test"
    2)Set the read and write access parameters
    3)Check the allow multiple writer box
    You can now have multiple writers on the "test" item. Note that all of the predefined data items can have di
    fferent settings.
    There is also a KnowledgeBase article discussing this at:
    http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/a8ac9a751404bab18625672400630a3d?OpenDocument

  • Additional Alias created - not by me - can't get rid of it!

    My husband and I have a .Mac account and we set that up fine. We've also added two aliases (one for me and one for my husband). So, now we have 3 e-mail addresses, our family address and then a personal e-mail address for both of us. We set up folders and rules to have mail sent to these addresses go into specific folders. Again, that works fine.
    However, since we did all this months ago, there's also been a 4th account listed in the drop down box of the 'From' field in a new mail message. It's the default account, meaning it has the check next to it. I did not create this alias. It's a combination of my husband's name (which is the name our .Mac account is registered under) and my e-mail alias. Whenever I'm sending an e-mail or responding to one (even one that came to my e-mail alias), Mail will use this new account as the default. So, the people receiving e-mail from me, think it's coming from my husband. Of course, I can change it by selecting my own alias but I often forget to do this. I'd like to direct Mail to automatically use my alias (both my name and e-mail) account when responding to mail sent to me AND to automatically use this alias when I'm originating an e-mail from my folder.
    Does anyone know how to do this AND how to get rid of the other random alias account that was created?
    Thanks much!
    Danielle

    Have you tried to get rid of that mystery account via Mail's Preferences >Accounts window: selecting and and clicking the "-" key? If so, what happens?
    If that doesn't work you should be able to edit the .plist file for Mail and remove it from there. First, download Pref Setter and install it. Then, go to /Users/<your username>/Library/Preferences and scroll through the list until you find com.apple.Mail.plist and Option-drag it to your Desktop to create a copy.
    Now open the original .plist file in the Preferences folder (the one you just copied to your Desktop) using Pref Setter and type "accou" in the search box at the top right; this will narrow your results to four items; we're only interested in the one labeled "MailAccounts".
    You will need to click on the disclosure triangle to find the mystery account, since they are all listed with the account name. When you find it, select the Item number for it and press the large Delete key on your keyboard to delete it; this will then change the numbering for all the remaining accounts. You can Save the file and quit Pref Setter.
    Restart Mail and go to Preferences >Composing and look for the line that says "Send new mail from:" and use the popup menu next to it to choose "Account of last mailbox viewed". This means that whichever mailbox is used to view an email to, that is the account chosen automatically to send email from. So if you husband read an email to him in his account and he wanted to reply or send a new email, his account should be the one used to send. Likewise for you.
    Mulder
    Now o

  • I inadvertently created a certificate and can't get rid of it!

    I inadvertently created a 'Terence Watts's CA' certificate in my keychain (long story, boring, not necessary ) which is not trusted and is going out with all my emails with a 'not trusted' message... I deleted it - several times - but the darn thing keeps on coming back!
    Can any wise person here tell me how to despatch it once and for all?
    Terence

    When you use grep to search for things and what you want to search for contains special characters like ' and " and others, you either have to escape them or just not include them (you need to read how to do this in a book that covers the Bash shell) as it gets a bit complicated depending on which characters exactly the string contains.
    But you could easily just look for a subset of the string - for example if your certificate were named "Terence Watts's CA" you might just want to
         security find-certificate -a | grep "Terrence Watts" | grep CA
    and that should do the trick. Unless you have more than one certificate that contains these two strings, you will still find it.
    But now that it's not going out attached to your emails, that's what counts...

  • ITunes Media And Removable Storage Issue - Can't Get iTunes to recognize the new location.  Any tips?

    I've had my iTunes media on an external HDD for years.  Let's call this drive B.
    My iTunes library and xml file reside on my Mac HDD.
    I decided that I wanted to buy a bigger HDD and move all of the media to it.  Last night I copied all of the media files to the new HDD (let's call it P) from B.  I also copied the iTunes folder from my Mac HDD to P and directed iTunes to look for the media in the Advanced settings.
    Of course when I launched iTunes after all the hours it took to do all of this copying, it could not find any of the media on P without asking whether I wanted to locate it - and the library was full of explanation points.  When I examined the info on a few songs, it was showing that all of the media was still pointing to B as the location with the complete directory structure pointing to that old location - and not to the new drive.
    I tried creating a new library and still could not get the library to recognize that all of the media was now on P instead of B.
    I remember when I did something similar years ago, I just changed the location in iTunes in the Advanced settings and iTunes realized that all of the music was on B instead of its prior location.
    I finally gave up and restored things back to the original settings with all the media on B.
    I did a lot of searches and followed everything explicitly -- which basically meant copying the iTunes folder (with the library and xml files within it), and the media to the new drive and then telling iTunes where the new location was.  To me it shouldn't be any simpler than that to get iTunes to recognize a new location for all the music.
    Can anyone offer a more rudimentary breakdown of things for me to try so that I can get iTunes to acknowledge that all the media is on P and not B?
    P is larger than B  for those of you who are wondering why I'm trying to get this to work. And P also will be a drive that dedicated to iTunes and media and nothing else.  Unlike B, which has all kinds of assorted files on it along with my music, etc.
    And yes, each time I made changes  - I restarted iTunes

    Thank you both for the information. 
    It sounds like I did something out of sequence based upon reading the split library information, thinking I was doing the right thing.
    This is exactly what I did
    I copied the folder with all the media from B to P
    I copied the entire iTunes folder from the Mac HDD to P
    I option click started iTunes and connected to the library file and when iTunes opened it was OK - and looked like it normally does when I was still using B as the storage
    I connected to P
    When it didn't work, I tried to create a new library and did the same exact things.
    So let me ask this:
    Should I hook up P again and delete everything off of it except for the folders that have the media in them and then copy the current iTunes folder over onto P again - and then copy all of the media from it's current location into the iTunes Media folder inside of the iTunes folder I copy over from the Mac and then try to connect and consolidate everything?
    I assume that if I move everything from the current media folder into the iTunes/iTunes Media/ that I copy over everything will be under the iTunes umbrella as if things were never split?
    I don't seem to recall it being this difficult when I originally set up things on B, as it was a split situation then too, if I'm not mistaken.
    I really appreciate the instruction.  And honestly it does make sense to have everything in one location to prevent problems like this from happening  - it would just be great if iTunes had a feature that moved and/or copied the necessary files to the new location to prevent splitting links

  • Can't get events to flow from Java to VB

    I've seen some past topics relating to this but none gives a concrete example of making it work.
    I've created a bean with a single method, a fw properties and one event. I've run the packager and regestered everything in VB. The bean has no GUI. I've created a simple VB app with one command button which creates the instance, sets some properties and calls the start method. All of this works great. My Java code runs to completion. When the Java code starts and finishes it sends a notify. The event code never gets popped in VB.
    I've created the events and listener interface per the documentation. At run time I have one listener registered which is of the following class:
    sunw.demo.encapsulatedEvents.DYN_EE_ADAPTOR.myPackageName.myListenrInterfaceName
    This name comes from the toString() for the listener object.
    That is my first question. Why is a demo class involved? Where did this come from?
    My VB code is as follows:
    Dim X As Object
    Private Sub Command1_Click()
    Set X = CreateObject("MyActiveXName.bean.1")
    X.ConfigFile = "home.cfg"
    X.LicenseKey = "0524416687182640982341"
    X.start
    End Sub
    Public Sub X_started(ByVal StartedEvent1 As Object)
    MsgBox "Got started event"
    End Sub
    Here is the definition of the event as it shows up in the ObjectBroswer in VB:
    Event started(StartedEvent1 As Object)
    I also have a stopped event but I didn't want to clutter the example.
    Any help would be appreciated.

    I got it to work. If you look in the original post I was using a DIM statement to create the object. That doesn't seem to work for events.
    I had to drag an instance onto the canvas (even though it is not visual) and have VB assign a variable name. Everything all of a sudden worked.
    Now I have another problem. Sending a notification during a method call from VB works great. However, sending a notification from a separate background thread in my Java code causes VB the get a GPF. I put up a msg box upon receipt of the event. As soon as I click OK on the msg box, it blows up. Maybe I just shouldn't put up a msg box.

Maybe you are looking for