Examples of ZapToggleButton


Examples of org.zaproxy.zap.view.ZapToggleButton

    update();
  }
 
  private JToggleButton getScopeButton() {
    if (scopeButton == null) {
      scopeButton = new ZapToggleButton();
      scopeButton.setIcon(new ImageIcon(LogPanel.class.getResource("/resource/icon/fugue/target-grey.png")));
      scopeButton.setSelectedIcon(new ImageIcon(LogPanel.class.getResource("/resource/icon/fugue/target.png")));
      scopeButton.setToolTipText(Constant.messages.getString("history.scope.button.unselected"));
      scopeButton.setSelectedToolTipText(Constant.messages.getString("history.scope.button.selected"));
View Full Code Here

Examples of org.zaproxy.zap.view.ZapToggleButton

    return reveal;
  }

  private JToggleButton getRevealButton() {
    if (revealButton == null) {
      revealButton = new ZapToggleButton();
      revealButton.setIcon(new ImageIcon(ExtensionReveal.class.getResource("resources/icons/044.png"))); // 'light off' icon
      revealButton.setToolTipText(Constant.messages.getString("reveal.button.enable"));
      revealButton.setSelectedIcon(new ImageIcon(ExtensionReveal.class.getResource("resources/icons/043.png"))); // 'light on' icon
      revealButton.setSelectedToolTipText(Constant.messages.getString("reveal.button.disable"));
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.