BeanContextSupport.java 文件源码

java
阅读 83 收藏 0 点赞 0 评论 0

项目:jdk8u-jdk 作者:
/**
 * notify this instance that it may no longer render a GUI.
 */

public synchronized void dontUseGui() {
    if (okToUseGui) {
        okToUseGui = false;

        // lets also tell the Children that can that they may not use their GUI's
        synchronized(children) {
            for (Iterator i = children.keySet().iterator(); i.hasNext();) {
                Visibility v = getChildVisibility(i.next());

                if (v != null) v.dontUseGui();
           }
        }
    }
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号