forked from API-Security/APIKit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathConfigPanel.java
More file actions
30 lines (23 loc) · 840 Bytes
/
ConfigPanel.java
File metadata and controls
30 lines (23 loc) · 840 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
package burp.ui;
import javax.swing.*;
public class ConfigPanel extends JToolBar {
JCheckBox autoSendRequestCheckBox;
JCheckBox includeCookieCheckBox;
public ConfigPanel() {
this.autoSendRequestCheckBox = new JCheckBox("Auto request sending");
this.includeCookieCheckBox = new JCheckBox("Send with cookie");
// 默认不发送
this.autoSendRequestCheckBox.setSelected(false);
this.includeCookieCheckBox.setSelected(false);
// 不可悬浮
this.setFloatable(false);
this.add(autoSendRequestCheckBox);
this.add(includeCookieCheckBox);
}
public Boolean getAutoSendRequest() {
return this.autoSendRequestCheckBox.isSelected();
}
public Boolean getIncludeCookie() {
return this.includeCookieCheckBox.isSelected();
}
}