Skip to content

Commit

Permalink
update annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
summitt committed Oct 8, 2023
1 parent 64a9ffe commit ab9868f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion NonHTTPProxy/src/josh/ui/utils/NonHTTPTableModel.java
Original file line number Diff line number Diff line change
Expand Up @@ -101,14 +101,16 @@ public Object getValueAt(int rowIndex, int columnIndex) {
case 2:
return logEntry.protocol;
case 3:
return logEntry.Direction;
return logEntry.Direction.replace("c2s", "Client \u27F9 Server").replace("s2c", "Server \u27F9 Client");
case 4:
if (logEntry.Direction.contains("Repeater"))
return "TCP Repeater";
else if (logEntry.Direction.contains("Match"))
return "Match";
else if (logEntry.Direction.contains("mangle"))
return "Mangle";
else if (logEntry.Direction.contains("formated"))
return "formatOnly";
else if (logEntry.Direction.contains("format"))
return "Pre/Post Intercept";
else if (logEntry.Direction.contains("**"))
Expand Down
1 change: 1 addition & 0 deletions NonHTTPProxy/src/josh/ui/utils/Table.java
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ public Component prepareRenderer(
try {
super.isRowSelected(row);


// c.setBackground(Color.cyan);
/*
* Border outside = new MatteBorder(0, 1, 0, 1, Color.gray);
Expand Down

0 comments on commit ab9868f

Please sign in to comment.