From bfb1fe70ae0c4bb9c0edae9c8897dc7b0b20891f Mon Sep 17 00:00:00 2001 From: boccioli_m Date: Mon, 8 Jun 2015 15:51:43 +0200 Subject: [PATCH] Closedown --- plugins/TestingList.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/plugins/TestingList.java b/plugins/TestingList.java index 24fb946..cd29f0d 100644 --- a/plugins/TestingList.java +++ b/plugins/TestingList.java @@ -219,11 +219,10 @@ public class TestingList extends Panel { }//GEN-LAST:event_jButton1ActionPerformed private void jCheckBox1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jCheckBox1ActionPerformed - int rowD=-1, colT=0; + //search for device name in table for (int row = 0; row <= jTable1.getRowCount() - 1; row++) { - - jTable1.setValueAt((boolean)(this.jCheckBox1.isSelected()==true), rowD, colT); + jTable1.setValueAt(this.jCheckBox1.isSelected(), row, 0); } }//GEN-LAST:event_jCheckBox1ActionPerformed