I cannot open a new search from a second tab. Comes back with : GGmain.jhtml (GIF Image. 1 x 1 pixels)

As above

Some firewalls like Kaspersky can block content and send a 1x1 GIF image instead.<br />
Kaspersky: Protection > Firewall > Filtration system: disable the "Banner Ad Blocker"
See:
* https://support.mozilla.org/kb/Configuring+Kaspersky+Internet+Security
* https://support.mozilla.org/kb/Firewalls

Similar Messages

  • When I open a new windows from my current tab background turns black. Can this be disabled?

    I use Remedy and when I open a new windows from my current one my background turns black. This started when I moved to the new update. Is there anyway to disable this?

    Start Firefox in <u>[[Safe Mode|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

  • Cannot open favourites using the Firefox tag that usually opens up the menu and a new page.. Now I get the dropdown menu but cannot open a new page, losing the homepage every time I explore, can you say WHY? all other versions worked fine!

    I cannot open a new page from the Firefox favorites menu, it worked before in other versions and this new 5.1 version, but stopped working a few days ago, uninstalled, downloaded a fresh program.. same problem exists. I usually leave my 'Home Page' as a stable page and just open 'new' pages for i.e. Google, Internet Banking etc. the '+' sign on my home page or other loaded pages does not operate, hate having to now constantly sign in to my hotmail home page if and when I open new pages, can you help?

    Websites remembering you and automatically log you in is stored in a cookie.
    * Create an allow cookie exception (Tools > Options > Privacy > Cookies: Exceptions) to keep such a cookie, especially for secure websites and if cookies expire when Firefox is closed.
    Make sure that you do not run Firefox in Private Browsing mode.
    * https://support.mozilla.com/kb/Private+Browsing
    * In [[Private Browsing]] mode all cookies are session cookies that expire if that session is ended, so websites won't remember you.
    * Do not use [[Clear Recent History]] to clear the "Cookies" and the "Site Preferences"
    Clearing "Site Preferences" clears all exceptions for cookies, images, pop-up windows, software installation, and passwords.
    * http://kb.mozillazine.org/Cookies

  • Unable to open SharePoint 2010 task from any Microsoft Office application - cannot open a new form (schema validation errors)

    I can’t get the Microsoft Office SharePoint Task integration to work with any SharePoint 2010 Workflows.  When any end user clicks the “Open this task…”
    button from outlook (or any other office application) a warning dialog appears stating that:
    “Outlook cannot open a new.
    The form contains schema validation errors.”
    The error details are:
    Element '{http://www.w3.org/1999/xhtml}div' is unexpected according to content model of parent element '{http://schemas.microsoft.com/office/infopath/2009/WSSList/dataFields}Body'.
    Some points to note:
    I can replicate this using on several computers running as different users. 
    I have full control over the site and the task I am trying to open. 
    When I navigate via the SharePoint site I can open the task. 
    The Info Path form that cannot be opened was automatically created by automatically SharePoint designer / InfoPath.  I have subsequently deleted the form and published
    the workflow (which created the InfoPath form again). 
    I am running Mircosoft Office Professional Plus 2010 version 14.0.5128.5000 (32-bit)
    One workaround is to remove the “Open this task…” button as per
    http://social.msdn.microsoft.com/Forums/en-US/sharepoint2010general/thread/eb273ee9-6a4b-409c-8eb0-5351bb113386/. This is not ideal and will be my last resort.
    Any suggestions and or thoughts appreciated.
    Thanks!

    Yes, I tried that.  It did not work for me.
    I have 4 site collections.  The main site collection is the only one that I receive the error.  
    When the user clicks on the email link  and opens the document for approval, they receive the following error when they click on "Open This Task". 
    Element '{http://www.w3.org/1999/xhtml}a is unexpected according to content model of
    parent element '{http://schemas.microsoft.com/office/infopath/2009/WSSList/dataFields}Body'.
    There is nothing wrong with the task list itself, just the link from the Office 2010 client. 
    I am wondering if there is a web config or other file on the server that is specific to the site collection??
    Tracey

  • I cannot open a photo library from an external hard rive  I get a message that says: You have made changes to your iPhoto library using a newer version of iPhoto.  How do I access this library?

    I cannot open a photo library from an external hard rive  I get a message that says: You have made changes to your iPhoto library using a newer version of iPhoto.  How do I access this library?

    and
    and have you opened this library with any other computer?
    LN

  • 2010 Review Approval Workflow Error - Outlook cannot open a new form

    Hi,
    I set up an Approval - SharePoint workflow on a document library list in a webpart.  When the approver got the email and tried to approve from outlook, she received the following error.  She has approved documets in the past for the same page. 
    Can anyome please help me troubleshoot this?  So much appreciated!
    Word Error:
    Could not open.  http://<site ulr> _layouts/formsResource.aspx?templateFile=http://<site url_catalogs/wfpub/Approval - SharePoint 2010/Review Approval_Task_1033.xsn
    Outlook Error:
    Outlook cannot open a new form. To open the file, access to the folliwng form template is required
    http://<site ulr> _layouts/formsResource.aspx?templateFile=http://<site url_catalogs/wfpub/Approval - SharePoint 201o/Review Approval_Task_1033.xsn

    can she open the approval form in web browser instead of Outlook?
    According to the error message, it seems that the user does not have permission for the file http://<site url/_catalogs/wfpub/Approval - SharePoint 201o/Review Approval_Task_1033.xsn.
    can she open see this file in SharePoint designer 2010? that is, open the site with SharePoint designer and navigate to All Files->_catalogs->wfpub->Approval - SharePoint 201o. If she can not see the file there, ask the workflow creator to publish
    the workflow again. I had experienced strange issue in SharePoint designer 2007 and solved by check out all the workflow files and check in again
    http://social.msdn.microsoft.com/Forums/en-US/sharepointworkflow/thread/b533cfa5-e858-4ff9-bd0d-96d19946b789.

  • "Object Picker cannot open because no locations from which to choose objects can be found"

    Hi,
    When I try in AD management console in the domain controller to add a new group for a user I get the following error:
    "Object Picker cannot open because no locations from which to choose objects can be found" error message when you try to select objects from an Active Directory domain in Windows 2000
    Our domain controller is a W2000 cluster (two W2000 advanced server machines) and this happens in one of the nodes of the controller while in the other node it Works well (the difference between them is where it fails, has the resources: print,
    file sharing and quorum services). Both nodes of the controller have the remote registry service disabled and in the node where it fails when you start this service it works well but I don`t think this is the reason because in the other node with remote registry
    service disabled it works. Solutions from the following support articles don`t work:
    kb 263231
    kb 284914
    I have checked that the situation is independent of the domain administrator who tries to add the group to the user.
    Can anybody help me? Which is the reason of this different behaviour from one cluster node to another ?
    Thanks.

    Hi Milos,
    Thanks for your answer but I think this is not the case because the problem is not with NTFS and we don' have these problems:
    Users or groups that have Full Control access cannot delegate permissions.
    Users who have Full Control access cannot make permission changes on a DFS share.
    If you give the non-privileged user the right to log on locally and you log on locally to the file server where the error message occurs, you can successfully edit the ACL.
    It only happens with the AD management console. Now, for us it is not posible to upgrade the system.

  • How can I get Firefox to automatically open a new search in a new tab please?

    How can I get Firefox to automatically open a new search in a new tab please? [Without me manually opening the tab]

    For searches from the Search Bar, when you use the Enter key.
    Type '''about:config''' in the URL bar and hit Enter. <br />
    ''If you see the warning, you can confirm that you want to access that page.''
    Pref = '''browser.search.openintab''' = double-click to toggle to '''true'''

  • Cannot open .avi files imported from Nikon d90 in Adobe Premiere 6.0.

    Cannot open .avi files imported from Nikon d90 in Adobe Premiere 6.0.
    When I try to open the file I get the following error message:
    "cannot open that file
    the file uses an unsupported file compression format"
    I really need urgent help with this so if you know a soloution, please post it!

    I don't do mjpeg so you will have to search the forum for advice
    But... having a playback codec installed does not ALWAYS mean the codec will work for Premiere editing
    After you search the forum and find the (I think free) codec vendors, you will need to install fresh so Premiere will "see" the codec for editing
    Or, Google
    convert mjpeg avi
    To convert to DV AVI type 2 with 48khz sound so the files will "natively" edit in Premiere
    My GUESS (you didn't say) is the d90 is a STILL camera that has a video function, not a true camcorder
    If you plan to do much video work, you need a tape-based DV camcorder so you use Firewire to do a digital transfer as a "real" AVI that Premiere may edit without conversion or extra software
    For a Firewire DV Camera - look at Panasonic PV-GS320 or GS500 (Note that I have not used either, but they have good reviews)
    http://reviews.cnet.com/Panasonic_PV_GS320/4505-6500_7-32330317.html
    http://reviews.cnet.com/digital-camcorders/panasonic-pv-gs500/4505-6500_7-31660646.html

  • HT1277 I cannot open the new email icon for 10.6.8 and the latest secrtoy update. My old "Stamp" icon email won't let me in either indicating that the new OS version doesn't work. Please help

    I cannot open the new email icon for 10.6.8 including the latest security update. My old "Stamp" icon email won't let me in either indicating that the new OS version doesn't work. Please help. I have spend over 4 hours installing and reinstalling updates, etc. and I don't know where to go from here.....

    Mac OS X v10.6: Mail.app won’t open, or "You can't use this version of Mail…" alert after installing Security Update 2012-004:
    http://support.apple.com/kb/TS4424?viewlocale=en_US&locale=en_US
    Fellow user Grant Bennet-Alder offers this solution:
    Some users have reported this problem if the Mail Application has been moved out of the top-level /Applications folder, or duplicated in another location.
    When the Security Update is done, the old version of Mail is disabled.
    The solution has been to:
    1) make certain Mail is in the /Applications folder
    2) There is no other copy anywhere else.
    3) Once steps 1 and 2 have been done, Manually download and re-apply the Security Update (2012-004) by hand.
    Security Update 2012-004 (Snow Leopard)
    If the Mail.app has been LOST, it can be re-installed by applying the 10.6.8 version 1.1 combo update. But this update is quite large and it is usually not necessary:
    Mac OS X 10.6.8 Update Combo v1.1

  • Rapid Install cannot open a new window.

    Hello all DBA Gurus,
    I am trying to Install R12 on VM ware machine (linux , RHEL 4) , created the operating system users and setup the staging area.
    When i run the rapidwiz from the command prompt I am getting the following error.
    Could you please , help me fix this one.
    Below is the text on the screen , during running rapid install.
    ===========================================
    [root@db ~]# cd /u02/stage/startCD/Disk1/rapidwiz/
    [root@db rapidwiz]# ./rapidwiz -restart
    Rapid Install Wizard is validating your file system......
    4 dvd labels found
    Rapid Install Wizard will now launch the Java Interface.....
    [root@db rapidwiz]# Rapid Install cannot open a new window.
    java.lang.NullPointerException
    at oracle.apps.ad.util.PortPool.parsePorts(PortPool.java:194)
    at oracle.apps.ad.util.PortPool.<init>(PortPool.java:139)
    at oracle.apps.ad.rapidwiz.ui.ExpressInstallPanel.<init>(ExpressInstallPanel.java:152)
    at oracle.apps.ad.rapidwiz.RIWizard.<init>(RIWizard.java:489)
    at oracle.apps.ad.rapidwiz.RIWizard.main(RIWizard.java:1449)
    =============================================
    Thanks,
    Rizwan.

    Hi,
    If the DISPLAY is set properly and you still get the same error, then I would suggest you download the latest RapidWiz version (Patch 7308107 - Rapid Install 12.0.4.9).
    I am installaing it in a vm ware image by connecting an External HDD of 1 TB to a laptop with 2 GB RAM, do you advise me to try installing it on a desktop with higher configuration ? IT has close to 270 GB of free space.With this configuration, you should be to install 12.0.4 directly on the laptop.
    For 12.0.4, the total space required for a standard system (not including the stage area) is 73 GB for a fresh install with a production database, and 161 GB for a fresh install with a Vision Demo database.
    For the stage area, you need at least 33 GB to accommodate the file system and database files in the stage area.
    Oracle Applications Installation Guide: Using Rapid Install - 12.0.4
    http://download.oracle.com/docs/cd/B40089_09/current/acrobat/120oaig.pdf
    Regards,
    Hussein

  • Is there a way to open a new window from the "Go" menu in Mavericks?

    Before Mavericks, I was able to go from the Finder to the top menu "Go" -> "Utilities", or Applications or Home… and a new window would open.
    Now I have to manually open a new window to avoid loosing my existing window.
    Is there a way to open a new window from the "Go" menu?

    Before Mavericks, I was able to go from the Finder to the top menu "Go" -> "Utilities", or Applications or Home… and a new window would open.
    Now I have to manually open a new window to avoid loosing my existing window.
    Is there a way to open a new window from the "Go" menu?
    First, as others have already stated.....make sure the checkbox is deselected for "open folders in tabs instead of windows" in Finder Preferences.
    If you're like me and don't like tabs very much, there is a way to make folders always open in windows with a simple click (I'm using Mavericks 10.9.5).  Go to a root folder (for example, the Documents Folder), open it, and select View > Hide Toolbar, then all folders within that root folder will open in a new window.
    As an alternative method, any folder can be opened in a new window by holding down either Command Key while clicking the folder. But sooner or later you will forget to hold down that key, and then clicking on a folder will open in a tab (which will automatically resize the window and cause much aggravation).
    The Hide Toolbar trick will also work with any folder present on the Desktop. It will make all folders inside that folder open in new windows.
    To make the Applications Folder open in a new window when opening it from the menu bar at the top of the screen, you will have to open the main hard drive folder and use the Hide Toolbar trick. This will cause all folders inside it to open in new windows.
    Hope this helps.

  • I recently loaded OSX mavericks on my Imac. I now find I cannot open any Adobe products from CS5. The error message reads " to open Adobe illustrator CS5.app, you need to install a JAva SE 6 runtime. Would you like to check and install one?

    I recently loaded OSX mavericks on my Imac. I now find I cannot open any Adobe products from CS5. The error message reads " to open Adobe illustrator CS5.app, you need to install a JAva SE 6 runtime. Would you like to check and install one? I try to install but get the error" download error". As far as i know I'm using Adobe Java 7. None of my CS5 suite works anymore............and i really dont want to upgrade to a monthly cloud service fee as i hate this policy with a passion.

    This goes for Dreamweaver CC on Mavericks!!!!! THANK YOU!
    I couldn't launch Dreamweaver CC. An error told me to install "java se 6 runtime". But when I clicked  OK I got another error telling me there is a network problem! I found this forum post on CS6 products, so I tried the download link, installed java 6 and presto, it worked! Thanks!

  • I just set up a new computer running Windows 8.1. When I go to my icloud photostream, the pictures are in PNG format NOT JPG. When I open and upload photos from the photostream, the resolution is so low that the image quality is terrible. Help?!?

    I just set up a new computer running Windows 8.1. When I go to my icloud photostream, the pictures are in PNG format NOT JPG. When I open and upload photos from the photostream, the resolution is so low that the image quality is terrible. Help?!?

    Hey Sierra, You can do just what you have stated. My question, what is your "other"? If it is over 1.5 GB you most likely have corrupt files. Doing a Restore to New, Factory restore should correct it. Just make sure you make a full backup of all information on your iPod to your computer before you restore, so you don't lose your stuff, contacts, videos, pictures, non-iTunes music, etc, use the cable and connect with your computer. Then, via cable, connect to your computer, run the Restore to new, don't use your backup. Treat this iPod as if it was your first one ever. When restore is done, set up and add what info you wish to install on this iPod. The music apps etc you purchased should be on your computer, if not you should be able to retrieve purchased apps and music from iTunes. Any music, videos, apps not purchased from iTunes will be lost to you if you do not save them to your computer or the cloud first. When your done, make a current Backup and you should good to go. Hope this helps. Good luck. Cheers.

  • How to open a new window from the login window?

    hi,
    can someone tell me how to open a new window from an existing window, here by window i mean frame. The case is i hv two java files - oracle.java and FDoptions.java. The first frame is in the Login.java. The oracle.java file has a button "Login", when it is clicked, i want to open the next frame which is in the file FDoptions.java. Can some one help me with this? I m giving the code below -
    oracle.java
    import java.awt.BorderLayout;
    import java.awt.FlowLayout;
    import java.awt.GridLayout;
    import java.awt.event.ActionEvent;
    import javax.swing.AbstractAction;
    import javax.swing.BorderFactory;
    import javax.swing.JButton;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JPanel;
    import javax.swing.JPasswordField;
    import javax.swing.JTextField;
    * The application's main frame.
    public class oracle {
        private JFrame frame;
        private JPanel logInPanel;
        private JButton clearButton;
        private JButton logInButton;
        private JButton newuserButton;
        private JButton forgotpasswordButton;
        private JTextField userNameTextField;
        private JPasswordField passwordTextField;
        public oracle() {
            initComponents();
        private final void initComponents() {
            JLabel userNameLabel = new JLabel("User name: ");
            JLabel passwordLabel = new JLabel("Password: ");
            userNameTextField = new JTextField();
            passwordTextField = new JPasswordField();
            JPanel userInputPanel = new JPanel(new GridLayout(2, 2, 5, 5));
            userInputPanel.setBorder(BorderFactory.createEmptyBorder(10, 20, 10, 20));
            userInputPanel.add(userNameLabel);
            userInputPanel.add(userNameTextField);
            userInputPanel.add(passwordLabel);
            userInputPanel.add(passwordTextField);
            logInButton = new JButton(new LogInAction());
            clearButton = new JButton(new ClearAction());
            newuserButton = new JButton(new NewUserAction());
            forgotpasswordButton = new JButton(new ForgotPassword());
            JPanel buttonPanel = new JPanel(new FlowLayout(FlowLayout.CENTER));
            JPanel buttonPanel1 = new JPanel(new FlowLayout(FlowLayout.RIGHT));
            buttonPanel.add(logInButton);
            buttonPanel.add(clearButton);
            buttonPanel1.add(newuserButton);
            buttonPanel1.add(forgotpasswordButton);
            logInPanel = new JPanel(new BorderLayout());
            logInPanel.add(userInputPanel, BorderLayout.NORTH);
            logInPanel.add(buttonPanel, BorderLayout.CENTER);
            logInPanel.add(buttonPanel1,BorderLayout.SOUTH);
            frame = new JFrame("FD Tracker");
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            frame.setSize(500, 500);
            frame.setContentPane(logInPanel);
            frame.pack();
            frame.setVisible(true);
        private void performLogIn() {
            // Log in the user
            System.out.println("Username: " + userNameTextField.getText());
            char[] password = passwordTextField.getPassword();
            System.out.print("Password: ");
            for(char c : password) {
                System.out.print(c);
            System.out.println();
        private void performClear() {
            // Clear the panel
            System.out.println("Clearing the panel");
            userNameTextField.setText("");
            passwordTextField.setText("");
        private final class LogInAction extends AbstractAction {
            public LogInAction() {
                super("Log in");
            @Override
            public void actionPerformed(ActionEvent e) {
                performLogIn();
        private final class ClearAction extends AbstractAction {
            public ClearAction() {
                super("Clear");
            @Override
            public void actionPerformed(ActionEvent e) {
                performClear();
        private final class NewUserAction extends AbstractAction{
             public NewUserAction(){
                 super("New User");
             @Override
             public void actionPerformed(ActionEvent e){
                 JFrame newuser = new JFrame("NewUser");
        private final class ForgotPassword extends AbstractAction{
            public ForgotPassword(){
                super("Forgot Password");
            @Override
            public void actionPerformed(ActionEvent e){
                JFrame forgotpassword = new JFrame("Forgot Password");
        public static void main(String args[]) {
            new oracle();
         FDoptions.java
    import java.awt.FlowLayout;
    import java.awt.BorderLayout;
    import java.awt.GridLayout;
    import java.awt.event.ActionEvent;
    import javax.swing.AbstractAction;
    import javax.swing.BorderFactory;
    import javax.swing.JPanel;
    import javax.swing.JButton;
    import javax.swing.JFrame;
    public class Fdoptions{
        private JFrame fdoptions;
        private JPanel fdoptpanel;
        private JButton enterfdbutton;
        private JButton viewfdbutton;
        public Fdoptions() {
            initComponents();
        private final void initComponents(){
            fdoptpanel = new JPanel(new BorderLayout());
            fdoptpanel.setBorder(BorderFactory.createEmptyBorder(80,50,80,50));
            enterfdbutton = new JButton(new EnterFDAction());
            viewfdbutton = new JButton(new ViewFDAction());
           JPanel enterbuttonpanel = new JPanel(new FlowLayout(FlowLayout.CENTER));
           JPanel viewbuttonpanel = new JPanel(new FlowLayout(FlowLayout.CENTER));
            enterbuttonpanel.add(enterfdbutton);
            viewbuttonpanel.add(viewfdbutton);
            fdoptpanel.add(enterbuttonpanel,BorderLayout.NORTH);
            fdoptpanel.add(viewbuttonpanel,BorderLayout.SOUTH);
            fdoptions = new JFrame("FD Options");
            fdoptions.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            fdoptions.setSize(1000,1000);
            fdoptions.setContentPane(fdoptpanel);
            fdoptions.pack();
            fdoptions.setVisible(true);
        private void performEnter(){
        private void performView(){
        private final class EnterFDAction extends AbstractAction{
            public EnterFDAction(){
                super("Enter new FD");
            public void actionPerformed(ActionEvent e){
                performEnter();
        private final class ViewFDAction extends AbstractAction{
            public ViewFDAction(){
                super("View an existing FD");
            public void actionPerformed(ActionEvent e){
                performView();
        public static void main(String args[]){
            new Fdoptions();
    }

    nice day,
    these lines..., despite the fact that this example is about something else, shows you two ways
    1/ modal JDialog
    2/ two JFrame
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    * Parent Modal Dialog. When in modal mode, this dialog
    * will block inputs to the "parent Window" but will
    * allow events to other components
    * @see javax.swing.JDialog
    public class PMDialog extends JDialog {
        private static final long serialVersionUID = 1L;
        protected boolean modal = false;
        private WindowAdapter parentWindowListener;
        private Window owner;
        private JFrame blockedFrame = new JFrame("No blocked frame");
        private JFrame noBlockedFrame = new JFrame("Blocked Frame");
        public PMDialog() {
            noBlockedFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            noBlockedFrame.getContentPane().add(new JButton(new AbstractAction("Test button") {
                private static final long serialVersionUID = 1L;
                @Override
                public void actionPerformed(ActionEvent evt) {
                    System.out.println("Non blocked button pushed");
                    blockedFrame.setVisible(true);
                    noBlockedFrame.setVisible(false);
            noBlockedFrame.setSize(200, 200);
            noBlockedFrame.setVisible(true);
            blockedFrame.setDefaultCloseOperation(JFrame.HIDE_ON_CLOSE);
            blockedFrame.getContentPane().add(new JButton(new AbstractAction("Test Button") {
                private static final long serialVersionUID = 1L;
                @Override
                public void actionPerformed(ActionEvent evt) {
                    final PMDialog pmd = new PMDialog(blockedFrame, "Partial Modal Dialog", true);
                    pmd.setSize(200, 100);
                    pmd.setLocationRelativeTo(blockedFrame);
                    pmd.getContentPane().add(new JButton(new AbstractAction("Test button") {
                        private static final long serialVersionUID = 1L;
                        @Override
                        public void actionPerformed(ActionEvent evt) {
                            System.out.println("Blocked button pushed");
                            pmd.setVisible(false);
                            blockedFrame.setVisible(false);
                            noBlockedFrame.setVisible(true);
                    pmd.setVisible(true);
                    System.out.println("Returned from Dialog");
            blockedFrame.setSize(200, 200);
            blockedFrame.setLocation(300, 0);
            blockedFrame.setVisible(false);
        public PMDialog(Dialog parent, String title, boolean isModal) {
            super(parent, title, false);
            initDialog(parent, title, isModal);
        public PMDialog(Frame parent, String title, boolean isModal) {
            super(parent, title, false);
            initDialog(parent, title, isModal);
        private void initDialog(Window parent, String title, boolean isModal) {
            owner = parent;
            modal = isModal;
            parentWindowListener = new WindowAdapter() {
                @Override
                public void windowActivated(WindowEvent e) {
                    if (isVisible()) {
                        System.out.println("Dialog.getFocusBack()");
                        getFocusBack();
        private void getFocusBack() {
            Toolkit.getDefaultToolkit().beep();
            super.setVisible(false);
            super.pack();
            super.setLocationRelativeTo(owner);
            super.setVisible(true);
            //super.toFront();
        @Override
        public void dispose() {
            owner.setEnabled(true);
            owner.setFocusableWindowState(true);
            super.dispose();
        @Override
        @SuppressWarnings("deprecation")
        public void hide() {
            owner.setEnabled(true);
            owner.setFocusableWindowState(true);
            super.hide();
        @Override
        public void setVisible(boolean visible) {
            boolean blockParent = (visible && modal);
            owner.setEnabled(!blockParent);
            owner.setFocusableWindowState(!blockParent);
            super.setVisible(visible);
            if (blockParent) {
                System.out.println("Adding listener to parent ...");
                owner.addWindowListener(parentWindowListener);
                try {
                    if (SwingUtilities.isEventDispatchThread()) {
                        System.out.println("EventDispatchThread");
                        EventQueue theQueue = getToolkit().getSystemEventQueue();
                        while (isVisible()) {
                            AWTEvent event = theQueue.getNextEvent();
                            Object src = event.getSource();
                            if (event instanceof ActiveEvent) {
                                ((ActiveEvent) event).dispatch();
                            } else if (src instanceof Component) {
                                ((Component) src).dispatchEvent(event);
                    } else {
                        System.out.println("OUTSIDE EventDispatchThread");
                        synchronized (getTreeLock()) {
                            while (isVisible()) {
                                try {
                                    getTreeLock().wait();
                                } catch (InterruptedException e) {
                                    break;
                } catch (Exception ex) {
                    ex.printStackTrace();
                    System.out.println("Error from EDT ... : " + ex);
            } else {
                System.out.println("Removing listener from parent ...");
                owner.removeWindowListener(parentWindowListener);
                owner.setEnabled(true);
                owner.setFocusableWindowState(true);
        @Override
        public void setModal(boolean modal) {
            this.modal = modal;
        public static void main(String args[]) {
            new PMDialog();
    }

Maybe you are looking for