JDialog hides when opening a new one!

I've created an application, which I update periodically. I updated my application a week ago, after I updated it there was a weird change. When the user opens a JDialog, and after that, another JDialog(which I use as a popup) appears, the first one hides until the second one get closed.Could somebody tel me how can I solve this problem??

XxdennixX wrote:
Could somebody tel me how can I solve this problem??By telling us the details of the problem including a small compilable runnable program that demonstrates the issue. I don't know about anyone else, but my crystal ball is in the shop, and my magic 8 ball has a hangover and just isn't up to guessing what on earth could be wrong given the small amount of data that you present to us.

Similar Messages

  • How do I stop firefox from opening multiple windows when opening a new one

    I start firefox my homepage comes up - perfect....
    i minimize this window to open a new window
    when i open the new window it opens the first one also so then i have to go minimize the window again
    This just started after i updated Firefox
    How do I fix?

    Check the Home page setting: [[How to set the home page]]: Firefox supports multiple home pages separated by '|' symbols
    See this article for some suggestions: [[Firefox has just updated tab shows each time you start Firefox]]
    See also http://kb.mozillazine.org/Preferences_not_saved and [[Preferences are not saved]]

  • How do I close window on opening a new one from a button on the first window

    I want to close my existing window when opening a new one. I
    have used
    a roll-over from Fireworks and the page is created using
    Macromedia
    Dreamweaver. I'd like to close the page that I am coming from
    and open
    a new one in its place.
    Thanks for looking.
    authorblue

    how to use iTunes to sync is in the
    http://www.apple.com/support/itunes
    For MacBook Pro community and OS X
    MacBook Pro
    https://discussions.apple.com/community/notebooks/macbook_pro 
    https://discussions.apple.com/community/mac_os?view=discussions
    http://www.apple.com/support/macbookpro
    While it isn't as easy to just use a Mac iDevice as media storage as Android and Windows, you can add documents and such like Word, PDF and others manually in iTunes to have them sync as well.
    http://support.apple.com/kb/HT1386
    http://support.apple.com/kb/HT1351
    They are all there searchable from Bing, Google or every Mac product has a support page.
    http://www.apple.com/support/

  • When i bought my mac I used an old app account that i do not remember it's password, so i had to open a new one but i can't updates my programs, so what should i do !

    when i bought my mac I used an old app account that i do not remember it's password, so i had to open a new one but i can't updates my programs, so what should i do !

    Better to use the original Apple ID used when you set up your Mac.
    Help here >  Apple ID: How to find your Apple ID

  • Why do my windows automatically minimize when I open a new one?

    I have had my Macbook Pro for over a year now, and in the beginning, I was all about finding cool applications to customize my Mac. During that time, I must have downloaded something that makes my application windows automatically minimize or disappear whenever I open a new one. Well now, I want it gone because it gets really annoying when I can't have more than one application up at a time. I created a new account and was able to open more than one application at a time, so it must be something installed on my account only. If you have any clue what sort of application/script/something else could be causing this, please help me!

    Thanks so much for everyone's help so far!
    So I figured out that it was an application called TransparentDock, but I still can't seem to get rid of it. I reinstalled it on my harddrive and tried to refresh all the settings to default, but it won't let me because it says that the "dock application file" isn't it the right location (apparently it only worked with Tiger and not with Leopard). But I can't find any trace of anything with the name "Transparentdock" on my harddrive, so I don't know how it is still on my computer even though I am running Leopard and it doesn't work with Leopard. I'm starting to get really frustrated with this stupid program, and I feel like contacting the people who made it and telling them to fix my computer! If anyone has any ideas on how to stop this, please help!

  • Just installed Firefox 9.0.1. When opening a new browser session, two tabs will open. One is my home page and the other is a Firefox welcome page. I just want my homepage to open. How do I achieve this? Thanks.

    Just installed Firefox 9.0.1. When opening a new browser session, two tabs will open. One is my home page and the other is a Firefox welcome page. I just want my homepage to open. How do I achieve this? Thanks.

    See these articles for some suggestions:
    *https://support.mozilla.org/kb/Firefox+has+just+updated+tab+shows+each+time+you+start+Firefox
    *https://support.mozilla.org/kb/How+to+set+the+home+page - Firefox supports multiple home pages separated by '|' symbols
    *http://kb.mozillazine.org/Preferences_not_saved

  • Waiting a JInternalFrame to be closed before opening a new one

    Hello all
    I would like to wait a JInternalFrame to be closed by the user before opening a new one.
    Here is the sample code :
                   openRemote.getWindow().show();
                   Thread t = new Thread(new Runnable() {
                             public void run() {
                                  try {
                                       synchronized(openRemote.getWindow()) {
                                            System.out.println("Wait");
                                            openRemote.getWindow().wait();
                                            System.out.println("Closed");
                                       System.out.println("1111");
                                       //ChoosePhantomAction cpa = new ChoosePhantomAction();
                                       //cpa.actionPerformed(null);
                                       String phant = (String)JOptionPane.showInternalInputDialog(iFrame,"Phantom's name:", "Phantom selection",JOptionPane.PLAIN_MESSAGE,null,null, null);
                                       System.out.println("2222");
                                  } catch (java.lang.InterruptedException ie) {
                                       ie.printStackTrace();
                                  } catch (Exception exp) {
                                       exp.printStackTrace();
                   t.start();The first code line shows a JInternalFrame.
    I can see the JOptionPane on screen when i close the first frame but the message "22222" is never displayed. And i really can't understand why. Can it be due to the thread that uses Swing objects or the event dispatcher ?
    Thanks

    There are 2 files.
    The main one :
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.event.*;
    public class SSCCE extends JPanel {
        static JFrame frame;
         private JDesktopPane desktop = new JDesktopPane();
         private JInternalFrame iFrame = new JInternalFrame();
         public SSCCE() {
              setLayout(new BorderLayout());
              add(desktop, BorderLayout.CENTER);
              setPreferredSize(new Dimension(800,600));
              iFrame.setPreferredSize(new Dimension(300,200));
              JPanel panelCentre = new JPanel();
              panelCentre.setLayout(new BorderLayout());
              panelCentre.add(getMenusBar(), BorderLayout.NORTH);
              iFrame.getContentPane().add(panelCentre, BorderLayout.CENTER);
              iFrame.pack();
              iFrame.setVisible(true);
              desktop.add(iFrame);
        public JMenuBar getMenusBar() {
              JMenuBar menuBar = new JMenuBar();
              JMenu clickMenu = (JMenu) menuBar.add(new JMenu("Click here..."));
              createMenuItem(clickMenu, "...and now here", "click", new ClickAction());
              return menuBar;
        public JMenuItem createMenuItem(JMenu menu, String label,
                                                 String accessibleDescription, Action action) {
            JMenuItem mi = (JMenuItem) menu.add(new JMenuItem(label));
              mi.getAccessibleContext().setAccessibleDescription(accessibleDescription);
              mi.addActionListener(action);
              if(action == null) {
                   mi.setEnabled(false);
              return mi;
        public static JFrame createFrame() {
              JFrame frame = new JFrame();
              WindowListener l = new WindowAdapter() {
                        public void windowClosing(WindowEvent e) {
                             System.exit(0);
              frame.addWindowListener(l);
              return frame;
        class ClickAction extends AbstractAction {
            public void actionPerformed(ActionEvent e) {
                   final InternalPopUp ip1 = new InternalPopUp(desktop, "Please close to open 2nd window");
                   ip1.show();
                   Thread t = new Thread(new Runnable() {
                             public void run() {
                                  try {
                                       synchronized(ip1) {
                                            System.out.println("Wait");
                                            ip1.wait();
                                            System.out.println("Closed");
                                       System.out.println("1111");
                                       String phant = (String)JOptionPane.showInternalInputDialog(iFrame,"Enter something", "Enter something and check if 2222 is displayed in the console",JOptionPane.PLAIN_MESSAGE,null,null, null);
                                       System.out.println("2222");
                                  } catch (java.lang.InterruptedException ie) {
                                       ie.printStackTrace();
                                  } catch (Exception exp) {
                                       exp.printStackTrace();
                   t.start();
        public static void main(String s[]) {
              frame = createFrame();
              SSCCE sscce = new SSCCE();
              frame.setTitle("Sample test");
              frame.getContentPane().add(sscce, BorderLayout.CENTER);
              frame.pack();
              frame.setLocation(0,0);
              frame.setResizable(true);
              frame.setVisible(true);
    }The second one :
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.event.*;
    import javax.swing.border.TitledBorder;
    class InternalPopUp extends JInternalFrame {
        private int PREFERRED_WIDTH = 250;
        private int PREFERRED_HEIGHT = 80;
         private JDesktopPane desktop = null;
         class PopupListener implements InternalFrameListener {
              JInternalFrame parent = null;          
              public PopupListener(JInternalFrame parent) {
                   this.parent = parent;
              public void internalFrameClosing(InternalFrameEvent e) {
              public void internalFrameClosed(InternalFrameEvent e) {
                   desktop.repaint();
                   synchronized(e.getSource()) {
                        e.getSource().notifyAll();
              public void internalFrameOpened(InternalFrameEvent e) {
              public void internalFrameIconified(InternalFrameEvent e) {
              public void internalFrameDeiconified(InternalFrameEvent e) {
              public void internalFrameActivated(InternalFrameEvent e) {
              public void internalFrameDeactivated(InternalFrameEvent e) {
         public InternalPopUp(JDesktopPane desktop, String text) {
              this.desktop = desktop;
              addInternalFrameListener(new PopupListener(this));
              setPreferredSize(new Dimension(PREFERRED_WIDTH,PREFERRED_HEIGHT));
              JPanel panelCentre = new JPanel();
              JButton close = new JButton(text);
              close.addActionListener(new ActionListener() {
                        public void actionPerformed(ActionEvent e) {
                             hidePopup();
              panelCentre.add(close);
              getContentPane().add(panelCentre);
              pack();
              desktop.add(this, JLayeredPane.POPUP_LAYER);
         public void hidePopup() {
              //super.hide();
              try {
                   setClosed(true);
              } catch (Exception e) {
              desktop.repaint();
    }I never see the "2222" sting in the console ...

  • I actually need help but cannot find the answer. Please.......Lately when open a new tab it does not open with a blank page. I don't want to set my homepage as

    I actually need help but cannot find the answer.
    Please.......Lately when open a new tab it does not open with a blank page. I don't want to set my homepage as blank as when I first open Firefox, it automatically loads my hotmail page. But then if I open other pages I don't get a blank page. Help, please?
    Thank you.
    ''[Personal information removed by moderator. Please read [[Forum and chat rules and guidelines]], thanks.]''

    hello, please refer to [[New Tab Page – show, hide and customize top sites]] in order to switch the feature off.

  • How do I delete my email address and open a new one?

    How do I delete my email address and open a new one on icloud?  I want the sender of email to receive "account deleted" when they try to send me an email.

    That isn't possible, you cannot delete an iCloud account, you can only stop using it.

  • When opening a new tab, there is a Yahoo search screen showing rather than an empty tab and I would like to shut it off, how do I do this? thanks

    somewhere on updating, I picked up a yahoo toolbar, which I did not like. One of the tasks it performed was to bring up a yahoo search and news box when opening a new tab every time. I have not been able to uninstall it or shut it off, Any ideas where to start. When opening the new tab, it starts at "click,w3i.com" and then goes to "search.yahoo.com" and has some trending searches and latest news, My network is slow enough with out waiting for all these things to pass. Any idea how to eliminate it or shut it off. It is not listed in tool bars or options or add-ons or plugins or anything. below are the two links the tab goes through, they are listed in reverse order. Thanks for the help. Have a great day.

    Yes it was an add on called net assistant by freeze.com and I have found that, disabled it and intend to uninstall it, it must of come in with something else, I did not down load it specifically. Thanks

  • Hello. I have a new Computer and import my mediathek with an externe storage. When opened the new Mediethek in front of every song there is a explanation mark: original song could not been found. I try everything. Whats the Problem??

    Hello. I have a new Computer and import my mediathek with an externe storage. When opened the new Mediethek in front of every song there is a explanation mark: original song could not been found. I try everything. Whats the Problem??

    But it seems the OP has a setup where the media is on the external drive, and the library files are on the internal. This is what I refer to as a split library, Migrating such from one computer to another is not straightforward. Often iTunes will have some definite idea about where the files should live, and updating the setting of the media folder won't change that. If it requires a drive letter change that is usually not too hard, but sometimes there is another preference file that needs tweaking to indicate which of the old & new layouts for the library is being used. In more extreme cases I have a script for automatically making track by track repairs.
    tt2

  • Why do my animated themes only work the first time I open the window? Every one that I have tried stops animating if I close the window and open a new one.

    The headline pretty much sums up my problem. Basically, I picked a few different animated themes to try out in the Add-Ons section to personalize my browser window. They look great initially, and in the window that is open when I actually enable the theme. However, if I close that window and open a new one, the theme is stationary and no longer animates.

    Sorry......I was just too impulsive. ( Maybe because it was 4 AM at Taiwan, and I was still trying to solve the problem= = )
    Although to install the add-on "Personas Shuffler" can solve the problem to me, I don't think it was the BEST solution. This evening, I read why the add-on "Personas Shuffler" was made, and found that the BEST solution is:
    1. Open a new tab, and type "about:config" at the URL bar, then search for "lightweightthemes" with the filter.
    2. Change the values of "lightweightThemes.persisted.footerURL" and "lightweightThemes.persisted.headerURL" from true to false( by double click on them).
    3. After doing so, restart Firefox and you will see it works! You don't have to install any add-on.

  • How not to get back on the page i just closed when opening a new session

    How not to get back on the page i just closed
    when opening a new session?
    I do have a live stream radio on now...
    Therefor new session might not be the complete truth.
    Gerard

    A new tab opens by default as a blank tab (about:blank).
    If that isn't the case then an extension has changed that behavior.
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.org/kb/Safe+Mode

  • When opening a new tab, bottom row becomes "hidden" behind main window and only becomes revisible when tab on hidden row is closed.

    I have the browser set to show five rows of tabs, however, even on the third row (I have not closed enough tabs to test if this happens on the second row), when opening a new tab, the top of the webpage gets moved up to cover the bottom row of tabs, save for a sliver at the top. The only way to re-expose the tabs seems to be to close any tab in the bottom row -- closing tabs in other rows does nothing with the problem.

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • When opening a new tab, it opens onto a search engine, which is not what i want it to do. How do i resolve this and change it back to just a black page?

    when opening a new tab, it opens onto a search engine, which is not what i want it to do. How do i resolve this and change it back to just a black page?

    A new tab opens by default as a blank tab (about:blank).
    If that isn't the case then an extension has changed that behavior.
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.org/kb/Safe+Mode

Maybe you are looking for

  • XML Diff escape/unescape

    When performing a diff between two xml files that may contain an escaped character i.e. <FIELD>This & That</FIELD> The resulting xsl does not leave the & escaped producing invalid xml. <FIELD>This & That</FIELD> Is there some way to instruct the meth

  • Query for Code combinations

    select code.code_combination_id CCIDs, code.segment1||'*'|| code.segment2||'*'|| code.segment3||'*'|| code.segment4||'*'|| code.segment5 Segments from ( select cc.CODE_COMBINATION_ID from gl_je_headers jh, gl_je_lines jl, gl_code_combinations cc, (se

  • How to create MDI form in flex4 ?

    Hi to all .....i am new to this flex world i am trying to create MDI form can any one help me pls if u have samll program pls send me with full runnable source. pls help me

  • Treemaps - getting stuff out!

    Hi there I have created a data structure as follows: TreeMap bookingMap = new TreeMap(); String [] timesAsString = {"09:00","09:45","10:30","11:15","12:00","12:45","13:30","14:15","15:00","15:45","16:30","17:15"}; //String [] daysAsString = {"Monday"

  • Why cannot find data movement for clone database option on OEM 11gr2

    Hi Expert, I have Oracle 11gr2 11.2.3 normal OEM install to monitor our RAC database. When i go click data movement option, i can't find the clone database option. Any idea why ? Thanks