I noticed that clear all packets button in the debug window wasn’t working in Spark (only cleared half of them) so I made this patch:
Eclipse Workspace Patch 1.0
#P Smack
Index: source/org/jivesoftware/smackx/debugger/EnhancedDebugger.java
===================================================================
— source/org/jivesoftware/smackx/debugger/EnhancedDebugger.java (revision 12410)
+++ source/org/jivesoftware/smackx/debugger/EnhancedDebugger.java (working copy)
@@ -326,11 +326,7 @@
@Override
public void actionPerformed(ActionEvent e) {
for(int i=0; i< messagesTable.getRowCount();i++)
{
messagesTable.removeRow(i);
}
messagesTable.setRowCount(0);
}
});