From 8b56fedb75f90bbaaa5141fdec39e66de6db216a Mon Sep 17 00:00:00 2001 From: hneemann Date: Wed, 24 Aug 2016 11:33:49 +0200 Subject: [PATCH] added icons to test result tabs --- .../digital/gui/components/testing/TestResultDialog.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/main/java/de/neemann/digital/gui/components/testing/TestResultDialog.java b/src/main/java/de/neemann/digital/gui/components/testing/TestResultDialog.java index bee623a04..1811e9eb3 100644 --- a/src/main/java/de/neemann/digital/gui/components/testing/TestResultDialog.java +++ b/src/main/java/de/neemann/digital/gui/components/testing/TestResultDialog.java @@ -34,9 +34,9 @@ public class TestResultDialog extends JDialog { * @param tsl list of test sets * @param circuit the circuit * @param library the library to use - * @throws NodeException NodeException + * @throws NodeException NodeException * @throws TestingDataException DataException - * @throws PinException PinException + * @throws PinException PinException */ public TestResultDialog(JFrame owner, ArrayList tsl, Circuit circuit, ElementLibrary library) throws NodeException, TestingDataException, PinException { super(owner, Lang.get("msg_testResult"), false); @@ -58,8 +58,7 @@ public class TestResultDialog extends JDialog { if (tr.allPassed()) { tabName = Lang.get("msg_test_N_Passed", ts.name); tabIcon = ICON_PASSED; - } - else { + } else { tabName = Lang.get("msg_test_N_Failed", ts.name); tabIcon = ICON_FAILED; }