Skip to content

Commit

Permalink
#10 Add resize weight to table.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hannah-PortSwigger committed Jan 8, 2024
1 parent c277a13 commit 1659a09
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 1659a09

Please sign in to comment.