git-svn-id: http://code.alibabatech.com/svn/druid/trunk@241 b9813039-fb51-4c41-a8b9-e21c2acb5095

This commit is contained in:
wenshao
2011-06-02 02:53:31 +00:00
parent 0d4285702d
commit bea0bc8068
2 changed files with 6 additions and 2 deletions
@@ -11,4 +11,8 @@ public class SQLDetailPanel extends JPanel {
public SQLDetailPanel(Object[] row) {
this.row = row;
}
public Object[] getRow() {
return row;
}
}
@@ -25,7 +25,7 @@ public class SQLPanel extends JPanel {
private JTable table;
private String[] columns = { "ID", "Name", "File", "SQL", "ExecuteCount",
private String[] columns = { "ID", "File", "Name", "SQL", "ExecuteCount",
"ErrorCount", "TotalTime", "LastTime", "MaxTimespan", "LastError",
@@ -58,8 +58,8 @@ public class SQLPanel extends JPanel {
Object[] row = new Object[columns.length];
int columnIndex = 0;
row[columnIndex++] = rowData.get("ID");
row[columnIndex++] = rowData.get("Name");
row[columnIndex++] = rowData.get("File");
row[columnIndex++] = rowData.get("Name");
row[columnIndex++] = rowData.get("SQL");
row[columnIndex++] = rowData.get("ExecuteCount");