Skip to content

Commit

Permalink
Merge pull request #11 from Hannah-PortSwigger/unweighted-table
Browse files Browse the repository at this point in the history
#10 Add resize weight to table.
  • Loading branch information
Hannah-PortSwigger authored Jan 8, 2024
2 parents c277a13 + 1659a09 commit c239ded
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ plugins {
}

group = 'net.portswigger'
version = '1.1.1'
version = '1.1.2'

repositories {
mavenLocal()
Expand Down
6 changes: 5 additions & 1 deletion src/main/java/ui/attack/WebSocketAttackPanel.java
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,11 @@ private Component getWebSocketMessageDisplay()

JSplitPane webSocketInformationDisplay = new JSplitPane(JSplitPane.VERTICAL_SPLIT, webSocketMessageEditor.uiComponent(), upgradeRequestEditor.uiComponent());
webSocketInformationDisplay.setResizeWeight(0.5);
return new JSplitPane(JSplitPane.HORIZONTAL_SPLIT, getWebSocketMessageTable(webSocketMessageEditor, upgradeRequestEditor), webSocketInformationDisplay);

JSplitPane attackPanelSplitPane = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT, getWebSocketMessageTable(webSocketMessageEditor, upgradeRequestEditor), webSocketInformationDisplay);
attackPanelSplitPane.setResizeWeight(0.5);

return attackPanelSplitPane;
}

private Component getWebSocketMessageTable(WebSocketMessageEditor webSocketMessageEditor, HttpRequestEditor upgradeRequestEditor)
Expand Down

0 comments on commit c239ded

Please sign in to comment.