Skip to content

Commit

Permalink
Version: 3.3.4 Update
Browse files Browse the repository at this point in the history
  • Loading branch information
gh0stkey committed Oct 14, 2024
1 parent 910658f commit 6014089
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/main/java/hae/HaE.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public class HaE implements BurpExtension {
@Override
public void initialize(MontoyaApi api) {
// 设置扩展名称
String version = "3.3.3";
String version = "3.3.4";
api.extension().setName(String.format("HaE (%s) - Highlighter and Extractor", version));

// 加载扩展后输出的项目信息
Expand Down
9 changes: 5 additions & 4 deletions src/main/java/hae/component/board/table/Datatable.java
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,6 @@ public int compare(Integer s1, Integer s2) {
}
});

dataTable.setRowSorter(sorter);
TableColumn idColumn = dataTable.getColumnModel().getColumn(0);
idColumn.setMaxWidth(50);

for (String item : dataList) {
if (!item.isEmpty()) {
addRowToTable(new Object[]{item});
Expand Down Expand Up @@ -125,6 +121,11 @@ public void changedUpdate(DocumentEvent e) {
JScrollPane scrollPane = new JScrollPane(dataTable);
scrollPane.setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS);

dataTable.setRowSorter(sorter);
TableColumn idColumn = dataTable.getColumnModel().getColumn(0);
idColumn.setPreferredWidth(50);
idColumn.setMaxWidth(100);

setLayout(new BorderLayout(0, 5));

JPanel optionsPanel = new JPanel();
Expand Down

0 comments on commit 6014089

Please sign in to comment.