Version: 2.2.2 Update

This commit is contained in:
AnonymousUser
2022-05-04 22:51:58 +08:00
parent d7f04526b4
commit 5d23a68c0e

View File

@@ -189,11 +189,11 @@ public class BurpExtender implements IBurpExtender, IHttpListener, IMessageEdito
} }
int indexOfTab = this.jTabbedPane.indexOfTab(i); int indexOfTab = this.jTabbedPane.indexOfTab(i);
JScrollPane jScrollPane = new JScrollPane(new JTable(data, new Object[] {"Information"})); JScrollPane jScrollPane = new JScrollPane(new JTable(data, new Object[] {"Information"}));
this.jTabbedPane.addTab(i, jScrollPane);
// 使用removeAll会导致UI出现空白的情况为了改善用户侧体验采用remove的方式进行删除 // 使用removeAll会导致UI出现空白的情况为了改善用户侧体验采用remove的方式进行删除
if (indexOfTab != -1) { if (indexOfTab != -1) {
this.jTabbedPane.remove(indexOfTab); this.jTabbedPane.remove(indexOfTab);
} }
this.jTabbedPane.addTab(i, jScrollPane);
}); });
} }
} }