use of org.zaproxy.zap.extension.httppanel.HttpPanelResponse in project zaproxy by zaproxy.
the class View method getResponsePanel.
@Override
public HttpPanelResponse getResponsePanel() {
if (responsePanel == null) {
// ZAP: constructor changed
responsePanel = new HttpPanelResponse(false, OptionsParamView.BASE_VIEW_KEY + ".main.");
// ZAP: Added 'left arrow' icon
responsePanel.setIcon(new ImageIcon(View.class.getResource("/resource/icon/16/106.png")));
// ZAP: i18n
responsePanel.setName(Constant.messages.getString("http.panel.response.title"));
responsePanel.setEnableViewSelect(false);
responsePanel.loadConfig(Model.getSingleton().getOptionsParam().getConfig());
responsePanel.setDefaultAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_R, Toolkit.getDefaultToolkit().getMenuShortcutKeyMask() | Event.ALT_MASK | Event.SHIFT_MASK, false));
responsePanel.setMnemonic(Constant.messages.getChar("http.panel.response.mnemonic"));
}
return responsePanel;
}
use of org.zaproxy.zap.extension.httppanel.HttpPanelResponse in project zaproxy by zaproxy.
the class ManualHttpRequestEditorDialog method getResponsePanel.
private HttpPanelResponse getResponsePanel() {
if (responsePanel == null) {
responsePanel = new HttpPanelResponse(false, configurationKey);
responsePanel.setEnableViewSelect(true);
responsePanel.loadConfig(Model.getSingleton().getOptionsParam().getConfig());
}
return responsePanel;
}
Aggregations