Closedown
This commit is contained in:
@@ -457,6 +457,7 @@ public class TestingList extends Panel {
|
||||
icon = new ImageIcon(getClass().getResource(iconSource));
|
||||
} else {
|
||||
sStatus = "Disabled";
|
||||
icon = null;
|
||||
}
|
||||
jTable1.setValueAt(bSelected, row, COL_CHECK);
|
||||
jTable1.setValueAt(icon, row, COL_ICON);
|
||||
@@ -501,7 +502,6 @@ public class TestingList extends Panel {
|
||||
//table management
|
||||
public void buildTable() {
|
||||
String sDate = getNow();
|
||||
ImageIcon icon = new ImageIcon(getClass().getResource("/icons/button_pause-16px.png"));
|
||||
DefaultTableModel model = (DefaultTableModel) jTable1.getModel();
|
||||
jTable1.setModel(model);
|
||||
jTable1.getColumnModel().getColumn(COL_ICON).setMaxWidth(27);
|
||||
@@ -518,7 +518,7 @@ public class TestingList extends Panel {
|
||||
if (testName.equals("") || deviceName.equals("")) {
|
||||
return;
|
||||
}
|
||||
ImageIcon icon = new ImageIcon(getClass().getResource("/icons/button_pause-16px.png"));
|
||||
ImageIcon icon = null;// new ImageIcon(getClass().getResource("/icons/button_pause-16px.png"));
|
||||
DefaultTableModel model = (DefaultTableModel) jTable1.getModel();
|
||||
model.addRow(new Object[]{false, sDate, deviceName, deviceDescription, testSuite, testName, "", "Pending", icon});
|
||||
jTable1.setModel(model);
|
||||
|
||||
Reference in New Issue
Block a user