SecurityTree.java 文件源码

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

项目:Equella 作者:
public void showDialog(Component parent)
{
    dialog = ComponentHelper.createJDialog(parent);
    dialog.setTitle(CurrentLocale.get(
        "com.tle.admin.security.tree.securitytree.title", Driver.instance().getInstitutionName())); //$NON-NLS-1$
    dialog.setDefaultCloseOperation(WindowConstants.DO_NOTHING_ON_CLOSE);
    dialog.setModal(true);
    dialog.setContentPane(content);

    dialog.addWindowListener(new WindowAdapter()
    {
        @Override
        public void windowClosing(WindowEvent e)
        {
            attemptToCloseWindow();
        }
    });

    ComponentHelper.percentageOfScreen(dialog, 0.9f, 0.9f);
    ComponentHelper.centreOnScreen(dialog);

    dialog.setVisible(true);
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号