Hi again guys,
still struggling with this one.
Now i'm trying to use
javax.swing.JTree to access the tree, but seems i'm not able to do that properly
var Alert = org.zaproxy.zap.extension.alert;
var JTree = Java.type("javax.swing.JTree");
var tree = new(JTree);
print(tree)
}
output:
javax.swing.JTree[,0,0,0x0,invalid,alignmentX=0.0,alignmentY=0.0,border=com.formdev.flatlaf.ui.FlatEmptyBorder@75cfc82a,flags=16777576,maximumSize=,minimumSize=,preferredSize=,editable=false,invokesStopCellEditing=false,largeModel=false,rootVisible=true,rowHeight=0,scrollsOnExpand=true,showsRootHandles=false,toggleClickCount=2,visibleRowCount=20]
Not sure i shall try to convert JTree treeAlert = this.extAlert.getAlertPanel().getTreeAlert(); to JS somehow.
I'm completely lost.
Cristian