javax.swing.JDialog.isShowing()方法的使用及代码示例

x33g5p2x  于2022-01-21 转载在 其他  
字(1.3k)|赞(0)|评价(0)|浏览(112)

本文整理了Java中javax.swing.JDialog.isShowing()方法的一些代码示例,展示了JDialog.isShowing()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JDialog.isShowing()方法的具体详情如下:
包路径:javax.swing.JDialog
类名称:JDialog
方法名:isShowing

JDialog.isShowing介绍

暂无

代码示例

代码示例来源:origin: org.fudaa.framework.ebli/ebli-common

public boolean isShowing() {
 return super.isShowing();
}

代码示例来源:origin: org.netbeans.modules/org-netbeans-modules-profiler

public void hierarchyChanged(HierarchyEvent e) {
    if ((e.getChangeFlags() & HierarchyEvent.SHOWING_CHANGED) != 0 && dialog.isShowing()) {
      dialog.removeHierarchyListener(this);
      SwingUtilities.invokeLater(new Runnable() {
        public void run() {
          opened = true;
          if (closed) closeImpl();
        }
      });
    }
  }
});

代码示例来源:origin: org.terracotta.modules/tim-ehcache-2.x-ui

public void hierarchyChanged(HierarchyEvent e) {
  if ((e.getChangeFlags() & HierarchyEvent.SHOWING_CHANGED) != 0) {
   if (waitDialog.isShowing()) {
    if (runner != null) {
     appContext.submit(runner);
    }
   }
  }
 }
}

代码示例来源:origin: javax.help/javahelp

return dialog.isShowing();
} else {
return false;

代码示例来源:origin: javax.help/javahelp

public void windowClosing(WindowEvent e) {
debug ("modal window closing");
if (destroyOnExit) {
  destroy();
  return;
}
// JDK1.2.1 bug not closing owned windows
if (dialog.isShowing()) {
  dialog.hide();
}
if (ownerWindow != null)
  ownerWindow.removeWindowListener(dl);
ownerWindow = null;
modalDeactivated = true;
}

相关文章

JDialog类方法