Examples of CheckThreadViolationRepaintManager


Examples of com.art.anette.client.ui.CheckThreadViolationRepaintManager

            System.exit(1);
        }

        // 6) Install EDT Checker
        if ("true".equals(System.getProperty("anetteCheckEDT", "true"))) {
            RepaintManager.setCurrentManager(new CheckThreadViolationRepaintManager());
        } else {
            logger.info("Don't install EDT check by user request");
        }

        // 7) Install checker for slow event processing
View Full Code Here

Examples of org.jdesktop.swinghelper.debug.CheckThreadViolationRepaintManager

        }

        if (Main.pref.getBoolean("debug.edt-checker.enable", Version.getInstance().isLocalBuild())) {
            // Repaint manager is registered so late for a reason - there is lots of violation during startup process but they don't seem to break anything and are difficult to fix
            info("Enabled EDT checker, wrongful access to gui from non EDT thread will be printed to console");
            RepaintManager.setCurrentManager(new CheckThreadViolationRepaintManager());
        }
    }
View Full Code Here

Examples of org.wikipediacleaner.gui.swing.component.CheckThreadViolationRepaintManager

    EnumLanguage language = EnumLanguage.getDefaultLanguage();
    Locale.setDefault(language.getLocale());

    // Check that calls are made in the Event Dispatch Thread
    if (CHECK_EDT) {
      RepaintManager.setCurrentManager(new CheckThreadViolationRepaintManager());
    }

    // Look & Feel
    String lookAndFeelClassName = null;
    if (SYSTEM_LF) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.