mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
git-svn-id: http://code.alibabatech.com/svn/druid/trunk@241 b9813039-fb51-4c41-a8b9-e21c2acb5095
This commit is contained in:
@@ -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");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user