Closedown

This commit is contained in:
boccioli_m
2017-10-16 14:25:18 +02:00
parent 8e9d79e4ae
commit 6786c732ce

View File

@@ -359,7 +359,7 @@ public class TestingListDetails extends javax.swing.JPanel {
//help text
showHelp(details.get("testPath"), details.get("testHelp"));
//parameters table
HashMap hParams = (HashMap) details.get("parameters");
HashMap hParams = (HashMap) hDetails.get("parameters");
String name="", value="", description="";
DefaultTableModel model = (DefaultTableModel) jTableParams.getModel();
@@ -367,9 +367,9 @@ public class TestingListDetails extends javax.swing.JPanel {
Object param = entry;
if(param instanceof String){
name = (String) param;
HashMap attributes = (HashMap) hParams.get(param);
value = (String) attributes.get("value");
description = (String) attributes.get("description");
Details attributes = new Details((HashMap) hParams.get(param));
value = attributes.get("value");
description = attributes.get("description");
model.addRow(new Object[]{name, value, description});
}
jTableParams.setModel(model);