When jdialog now onwer the java get javax.swing.SwingUtilities$SharedOwnerF

Hi!
I have:
JDialog myLogin
JDialog myRegister
The task is. When dialog myLogin have not owner, then myLogin must have one view (with 3 buttons). But when myLogin have owner, then myLogin must have another view (with 2 buttons). For this purpose I use methos getOwner() from class java.awt.Window. This work when myLogin have owner. But when myLogin have not owner it's not work.
The question is, how I can understand that the dialog myLogin have not owner?

duplicate post
[http://forum.java.sun.com/thread.jspa?threadID=5287874&tstart=0]

Similar Messages

  • I restored my iPod in the middle of a download, now it can't do anything but restore, and when i restore it, the screen gets stuck on weird things, like the apple screen or purple or yellow. how do i get it un-stuck?

    i restored my iPod in the middle of a download, now it can't do anything but restore, and when i restore it, the screen gets stuck on weird things, like the apple screen or purple or yellow. how do i get it un-stuck?

    Try:
    - iOS: Not responding or does not turn on
    - If not successful and you can't fully turn the iPod fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - If still not successful that indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.

  • I accidently removed the battery while reset. Now when I switch on the phone gets stuck at the firefox OS logo.

    Please solve this issue . My bill is lost and without that the service center people won't do anything

    Closing this question because of duplicate:
    [https://support.mozilla.org/en-US/questions/1033892 I accidently removed the battery while reset. Now when I switch on the phone gets stuck at the firefox OS logo.]

  • How do you fix an ipod that has a black screen and it turns on but when it turns on the screen gets a lighter black but you still can't see the apps or anything?

    How do you fix an ipod that has a black screen and it turns on but when it turns on the screen gets a lighter black but you still can't see the apps or anything?

    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Restore from backup. See:                                 
    iOS: How to back up                                                                
    - Restore to factory settings/new iOS device.
    If still problem, make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
      Apple Retail Store - Genius Bar              
    Apple will exchange your iPod for a refurbished one for this price. They do not fix yours.
    Apple - iPod Repair price                       
    A third-party place like the following maybe less. Google for more.
    iPhone Repair, Service & Parts: iPod Touch, iPad, MacBook Pro Screens
    Replace the screen yourself if you are up to it
    iPod Touch Repair – iFixit

  • I am trying to cut and paste from a program, IEP DIRECT, and normally on my PC I have no problems; however, when using my MAC the formatting gets all mixed up

    i am trying to cut and paste from a program, IEP DIRECT, and normally on my PC I have no problems; however, when using my MAC the formatting gets all mixed up

    If you refer to this
    https://www.iepdirect.com/iepdotnet/hub/index.html
    then they have an issue with mac version.
    At a first glance, their website is optimized for Windows only, it displays badly in Safari, perhaps it would be better in Firefox or other browser.

  • My iPhone 3Gs has started crashing when using apps once the battery gets down to around 80%.

    My iPhone 3Gs has started crashing when using apps once the battery gets down to around 80%. Sometimes it will reboot on its own, and other times you have to leave it for an hour or so and then manually turn the phone on again. Any ideas?

    Did you try to reset the phone by holding the sleep and home button until the Apple logo comes up again?
    If this does not work, try to save as much data as you can and set it up "as new device": How to back up your data and set up as a new device

  • I had purchased iphone 6 from the online store and i had peid the full amount by using my cc , i had noticed now that the order get cancelled as its out of quantity , could you please assist me to refund my money back to my cc !!  my order number W24

    i had purchased iphone 6 from the online store and i had peid the full amount by using my cc , i had noticed now that the order get cancelled as its out of quantity , could you please assist me to refund my money back to my cc !!

    I am going through the same process! It is a nightmare doing anything with adobe. They make it as difficult as possible to get a refund and keep asking me if i want anothe program instead of a refund. They are making me jump through all kinds of hoops to get the refund and refuse to call me. They have ZERO customer service and the only reason they stay in business is because they have no real competitors. It's a shame, but I suggest you reprot them to the Better Business Bureau. I did.

  • When I now use the cmd-tab shortcut to go to a different open application it madly scrolls through all the open applications and does not let me select one. Any ideas as to what might be wrong. It doesn't appear to be a sticking key?

    When I now use the cmd-tab shortcut to go to a different open application it madly scrolls through all the open applications and does not let me select one. Any ideas as to what might be wrong. It doesn't appear to be a sticking key?

    Problem with the cmd-tab keyboard shortcut now cured with the latest software update, so the original problem must have been a software glitch.

  • Just had my mac mini's superdrive replaced by Apple, I have it back now and the top get so hot you cant touch it, I installed fancontrol and it climbs to 100 C but dont think the fan is running as it says 000rpm?

    Just had my mac mini's superdrive replaced by Apple, I have it back now and the top get so hot you cant touch it, I installed fancontrol and it climbs to 100 C but dont think the fan is running as it says 000rpm?

    Have you spoken to whoever replaced the superdrive? Why not take it back there?

  • Javax.swing.SwingUtilities.invokeLater make my program slow

    i am writing a program in which i am implementing documentlistener
    to communicating between two frames
    if i write my code with javax.swing.SwingUtilities.invokeLater it makes my program slow
    and if i write without this thread safe quality then this is fast but giving me runtime exception
    what i do to make my program better
    kindly suggest
    public void insertUpdate(DocumentEvent e) {
                updateLog(e, "inserted into");
            public void removeUpdate(DocumentEvent e) {
                updateLog(e, "removed from");
            public void changedUpdate(DocumentEvent e) {
                //Plain text components don't fire these events.
            public void updateLog(DocumentEvent e, String action) {
                Document doc = (Document)e.getDocument();
    javax.swing.SwingUtilities.invokeLater(new Runnable() {
                public void run() {
    tf4.setText(lbl.getText());
    }

    If your program is becoming too slow or unresponsive, it means that the operation "tf4.setText(lbl.getText());" is taking too long to execute and is therefore blocking the Swing-thread.
    There is little you can do to make that operation faster, but perhaps you can change how or how often you update the frames.
    Setting the whole text via setText() everytime a change happens seems very wasteful. Imagine you have a text with a million characters, and every time the user adds or changes just one character, you are getting and seting over one million characters. That is not the right approach.
    I'm not familiar with text-operations or class DocumentEvent, but I guess that there should be some kind of delta in DocumentEvent containing only the changes that were made. You could apply only these changes on tf4 instead of setting the whole text. Finding out how to do this would be the best solution. This will also make your program more scalable, as with setText() the performance of your application will continuously decrease as the text length increases.
    Usually when working with documents you have a "viewer" and a "model". If your viewer was a JTextBox and your model was, say a StringBuilder, you could make quick changes to the contents of JTextBox using the StringBuilder.append() or delete() methods without having to modify the whole text. You need to find out how this is done with whatever UI system you're using.
    If you can't find out how to do the above, a workaround would be to reduce how often you call "updateLog()". For example, is it truly necessary to call "updateLog" every time a new update happens? Perhaps it would be better to use a timer and only call "updateLog()" every few seconds.
    But as I said, this should only be a temporary workaround. You really should find out how to perform more efficient updates without using setText(). I recommend you search for tutorials and guides on how to work with text and documents on the internet.

  • Javax.swing.SwingUtilities.invokeAndWait limitation

    Hi all,
    I have the following method:
    private static void m() throws Throwable
    try {
          javax.swing.SwingUtilities.invokeAndWait ( new Runnable(){public void run(){
          try{
                invoke ( ... );                        // a Method.invoke() call
          } catch(Throwable t) {throw t;}
      } catch (Throwable th){}
    }If invoke() throws an exception, I need to pass the exception back to the caller of m(); however, I cannot do that since run() doesn't allow that
    Thank you

    Check the Javadoc, SwingUtilities.invokeAndWait(...) declares it can throw an InvocationtargetException that is just what you need.I knowYou didn't seem to, since you blamed an "invokeAndWait limitation" for a fact that is indeed with the Runnable interface.
    but the problem is with the invoke() call (inside the run()). I have to wrap it in a try - catch. What should I do with the caught exception ?Rethrow it wrapped in an unchecked exception?
    Note that if the exception thrown by Method.invoke() is already an InvocationTargetException, you may prefer to wrap this exception's cause instead, as the caller of invokeAndWait() will already have to unwrap it from an (+other+) InvocationTargetException.
    All that (cheating with checked/unchecked exceptions) is frowned upon in business code but is acceptable in framework code. If the caller of m() needs a strongly-typed exception handling interface, I suggest you wrap the nasty code so as to expose only the clean-cut interface.
    Note that Another practice that is questionable is a statement such as catch Throwable (except, again, in framework code). Regular business code shouldn't catch Errors.
    I suggest you read the Java tutorial's [chapter on exceptions|http://download.oracle.com/docs/cd/E17409_01/javase/tutorial/essential/exceptions/index.html] as well.
    Best regards.

  • What are the best instagram video settings using Compressor 4?  The outputs I have created look clean HD in camera roll.  When I view video in instagram preview it looks great, but then when i post it the quality gets blurry. Any advice?

    I have read that you should resize the frame to 640 by 640 or 1000 x 1000, and have tried both.  I shot the footage on canon 70d using 720p60fps, and edited the footage with iMovie.  Its been frustrating to see the finished product look great on iPhone, iPad, or mac but once i post the video- the quality gets blurry when you focus on the faces that are in focus.  My footage is basketball action shots from a high school game.  Any advice would be huge, I been looking for an answer to this for a month. 

    Simple export a ProRes 422 file, upload that by itself.  Facebook, Vimeo, YoutTube, etc, all compress the video themselves.  So don't compress it first, just upload it and let them do their own compression.

  • When Teststand is expired, the java process communicating with Teststand engine is killed.

    We are using an evaluation version of Teststand for development. We are using Teststand API in C code to communicate with the Teststand engine and in turn the java process communicates with the C code. But if the Teststand is expired, the java process is killed. Please suggest if there is a solution to stop the killing of java process when the teststand is expired.

    Hi geddam,
    The fact that the entire application is ending is expected as it is trying to access the TestStand API. Since your evaluation period is over you no longer have an active license and cannot access TestStand. We allow an evaluation period so that someone new to TestStand can evaluate it to determine if they will benefit from the software. However, once you have decided to develop using TestStand, you need to obtain a development license for TestStand. We have several different licenses for TestStand and a specific license to be used for development. The evaluation period should not be used as a time for development but a time to evaluate the software. So, in order for your application to work again, you will need to obtain a license for TestStand software.
    Thanks,
    Caroline
    National Instruments
    Thanks,
    Caroline Tipton
    Data Management Product Manager
    National Instruments

  • Getting error when trying to expose the java class as webservice

    I am new to webservices and ESB.
    I have two custom schemas. LegacyCustomer.xsd and CommonCustomer.xsd. I am compiling these schemas using JAXP. I am trying to map one custom data to another data using java class. I am trying to expose this java class into webservice.
    public class Test implements Serializable {
    private static final long serialVersionUID = 1L;
    public Test() {
    public CustomerType transform (CustomerDataType custDataType) {
    CustomerType custType = new CustomerType();
    custType.setCustomerId(custDataType.getCustomerId());
    return custType;
    Schemas used are:
    Input Schema:
    <schema targetNamespace="http://xmlns.oracle.com/Esb/CustomerData" xmlns:cust="http://xmlns.oracle.com/Esb/CustomerData" xmlns="http://www.w3.org/2001/XMLSchema">
         <element name="CustomerData" type="cust:CustomerDataType"/>
         <complexType name="CustomerDataType">
              <sequence>
                   <element name="CustomerId" type="string"/>
    </sequence>
         </complexType>
    </schema>
    Output Schema:
    <schema targetNamespace="http://xmlns.oracle.com/Esb/CustomerProvision" xmlns:CU="http://xmlns.oracle.com/Esb/CustomerProvision" xmlns="http://www.w3.org/2001/XMLSchema">
         <element name="Customer" type="CU:CustomerType"/>
         <complexType name="CustomerType">
              <sequence>
                   <element name="CustomerId" type="string"/>
              </sequence>
         </complexType>
    </schema>
    When I try to do this I am getting following error
    CustomerType of method transform cannot be serialized into xml, and no custom serializer has been defined for it.
    Why do we need custom serializer here? And if this is mandatory how can we define this custom serializer?

    Thanks for your reply...
    I tried second option that you specified first. I did the transformation of objects using xslt. It is working fine.
    But I couldn't able to do this using first method...,
    When I tried to compile the schema using jaxp it is actually creating classes without the private variables. and hence it is not able to recognize those variables to generate the wsdl.
    But I am not sure how to generate the classes with those private variables and getter and setters (to generate wsdl specification it seems to be mandatory one).
    Can you please tell me how can we do the schema compilation (other than xml beans and jaxp.... I tried both)?

  • When i send an imessage from my computer, when i hit send, the reciever gets it, it shows up on my phone, but not on my computer, it just disappears

    a while back i was in a group chat and was spammed with thousands, yes, thousands of texts at once. when i started up my computer, imessage attempted to load the messages. Now, when i send a message it will show up on my phone, but i cant see it on my computer, when i hit send it just vanishes. this is an improvement from months ago however, when my messages wouldnt even send. im running 10.8.5.

    Please read this whole message before doing anything.
    Back up all data.
    Quit Messages if it’s running.
    Step 1
    Hold down the option key and select
    Go ▹ Library
    from the Finder menu bar. Move the following items from the Library folder to the Trash (either may not exist):
    Caches/com.apple.Messages
    Caches/com.apple.imfoundation.IMRemoteURLConnectionAgent
    Leave the Library folder open. Log out and log back in. Try Messages again. If it works now, stop here. Close the Library folder.
    Step 2
    If you still have problems, quit Messages again. Go back to the Finder and move the following item from the open Library folder to the Desktop:
    Messages
    Note: you are not moving the Messages application. You’re moving a folder named “Messages.”
    Test. If Messages now works, delete the Messages folder on the Desktop. Otherwise, quit Messages again. Put back the folder you moved, overwriting the newer one that may have been created in its place, and continue.
    Step 3
    In the Preferences subfolder, there may be several files having names that begin with any of the following strings:
    com.apple.iChat
    com.apple.ids
    com.apple.imdsmsrecordstore
    com.apple.imessage
    com.apple.imservice
    Move them all to the Desktop. There may also be a file with the name "com.apple.imagent.plist". Move that to the Trash.
    Also in the Preferences folder, there's a subfolder named "ByHost". Open it and do the same thing.
    Log out and log back in. Test again. This time Messages should perform normally, but your settings will be lost. You may be able to put back some of the files you moved to the Desktop in this step. Relaunch and test after each one. Eventually you should find one or more that causes Messages to malfunction. Delete those files and recreate whatever settings they contained.
    If the issue is still not resolved, quit Messages again and put all the items you moved to the Desktop back where they were. You don’t need to replace the items you moved to the Trash. Stop here and post again.
    If you later decide that you don’t like the results of steps 2 and 3, you can undo them completely by quitting Messages and restoring the items you deleted in those steps from your backup.

Maybe you are looking for

  • Rating images in different formats with Elements 9

    Hi there , I am in my first couple of weeks of using Elements 9 and have a question that hopefully someone can help me out with . I use a Nikon D300 and have the camera set up to shoot in NEF(Raw) & JPEG . On Sunday I shot over 250 images which turne

  • Horizontal Navigation Bar

    I'm using the Spry horizontal menu bar, and I've got a problem. In IE7, but not in Firefox or Safari or even IE8, the hover state is apparently only active for the text in the submenus, not the entire 'button'.  That is, the list item is styled to lo

  • Still Image Noise

    I've imported some high resolution still .jpeg frames that I need for a project into FCP 4.5. The images look fine on my Cinema Display but are a bit shaky and there is a herringbone effect and noise on my external monitor. Any suggestions? Thanks

  • Hello. The camera stopped working in my iPhone 5.

    It stopped working. Is it possible to fix the problem? How long may it take?

  • Performed update to 3.6.6, and now it will not open on Mac OS 10.6.4

    I performed the update to 3.6.6, and now Firefox will not open on Mac OS 10.6.4. I hope I haven't lost all my bookmarks, etc. == This happened == Every time Firefox opened == after the update to 3.6.6