Search in sources :

Example 1 with ZapSupportDialog

use of org.zaproxy.zap.view.ZapSupportDialog in project zaproxy by zaproxy.

the class MainMenuBar method getMenuHelpSupport.

private ZapMenuItem getMenuHelpSupport() {
    if (menuHelpSupport == null) {
        menuHelpSupport = new ZapMenuItem("menu.help.zap.support");
        menuHelpSupport.addActionListener(new java.awt.event.ActionListener() {

            @Override
            public void actionPerformed(java.awt.event.ActionEvent e) {
                ZapSupportDialog zsd = new ZapSupportDialog(View.getSingleton().getMainFrame(), true);
                zsd.setVisible(true);
            }
        });
    }
    return menuHelpSupport;
}
Also used : ZapMenuItem(org.zaproxy.zap.view.ZapMenuItem) ZapSupportDialog(org.zaproxy.zap.view.ZapSupportDialog) ActionEvent(java.awt.event.ActionEvent)

Aggregations

ActionEvent (java.awt.event.ActionEvent)1 ZapMenuItem (org.zaproxy.zap.view.ZapMenuItem)1 ZapSupportDialog (org.zaproxy.zap.view.ZapSupportDialog)1