From 56901d87104f75159c9e8e2e6bcfee20036fdb28 Mon Sep 17 00:00:00 2001 From: boccioli_m Date: Thu, 11 Jun 2015 10:47:54 +0200 Subject: [PATCH] Closedown --- plugins/TestingList.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/plugins/TestingList.java b/plugins/TestingList.java index 806bc72..fce2290 100644 --- a/plugins/TestingList.java +++ b/plugins/TestingList.java @@ -275,11 +275,13 @@ public class TestingList extends Panel { private void setButtonToStop(){ this.jButtonRun.setToolTipText("Run selected tests"); jButtonRun.setIcon(new javax.swing.ImageIcon(getClass().getResource("/icons/button_play-64px.png"))); + this.jTable1.enableInputMethods(true); } private void setButtonToStart(){ this.jButtonRun.setToolTipText("Stop tests"); jButtonRun.setIcon(new javax.swing.ImageIcon(getClass().getResource("/icons/button_stop-64px.png"))); + this.jTable1.enableInputMethods(false); } @@ -412,6 +414,7 @@ public class TestingList extends Panel { } catch (Exception ex) { SwingUtils.showMessage(this, "getTestInProgress()", ex.toString()); + this.setButtonToStop(); } finally{ return dsTestProperties; @@ -545,7 +548,7 @@ public class TestingList extends Panel { File testsFolder = null; String sTestName; int iCounter = 0; - //search of devices and their tests + //search devices and their tests //Scan the list of devices File[] listOfFiles = folder.listFiles(); for (File listOfFile : listOfFiles) {