Search in sources :

Example 1 with AboutDialog

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

the class OSXAboutHandler method handleAbout.

@Override
public void handleAbout(AboutEvent ae) {
    AboutDialog dialog = new AboutDialog(View.getSingleton().getMainFrame(), true);
    dialog.setVisible(true);
}
Also used : AboutDialog(org.zaproxy.zap.view.AboutDialog)

Example 2 with AboutDialog

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

the class MainMenuBar method getMenuHelpAbout.

/**
	 * This method initializes menuHelpAbout	
	 * 	
	 * @return javax.swing.ZapMenuItem	
	 */
private ZapMenuItem getMenuHelpAbout() {
    if (menuHelpAbout == null) {
        menuHelpAbout = new ZapMenuItem("menu.help.about");
        menuHelpAbout.addActionListener(new java.awt.event.ActionListener() {

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

Aggregations

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