Skip to content
Snippets Groups Projects
Commit bd4c65d0 authored by Goetz Lindenmaier's avatar Goetz Lindenmaier
Browse files

8340461: Amend description for logArea

Backport-of: 833ff29983e0d433ccd4c7e946b15e42045faeaa
parent 17f35ba1
No related branches found
No related tags found
No related merge requests found
...@@ -159,7 +159,7 @@ import static javax.swing.SwingUtilities.isEventDispatchThread; ...@@ -159,7 +159,7 @@ import static javax.swing.SwingUtilities.isEventDispatchThread;
* <li>the title of the instruction UI,</li> * <li>the title of the instruction UI,</li>
* <li>the timeout of the test,</li> * <li>the timeout of the test,</li>
* <li>the size of the instruction UI via rows and columns, and</li> * <li>the size of the instruction UI via rows and columns, and</li>
* <li>to add a log area</li>, * <li>to add a log area,</li>
* <li>to enable screenshots.</li> * <li>to enable screenshots.</li>
* </ul> * </ul>
*/ */
...@@ -1113,9 +1113,10 @@ public final class PassFailJFrame { ...@@ -1113,9 +1113,10 @@ public final class PassFailJFrame {
/** /**
* Adds a {@code message} to the log area, if enabled by * Adds a {@code message} to the log area, if enabled by
* {@link Builder#logArea()} or {@link Builder#logArea(int)}. * {@link Builder#logArea() logArea()} or
* {@link Builder#logArea(int) logArea(int)}.
* *
* @param message to log * @param message the message to log
*/ */
public static void log(String message) { public static void log(String message) {
System.out.println("PassFailJFrame: " + message); System.out.println("PassFailJFrame: " + message);
...@@ -1124,7 +1125,8 @@ public final class PassFailJFrame { ...@@ -1124,7 +1125,8 @@ public final class PassFailJFrame {
/** /**
* Clears the log area, if enabled by * Clears the log area, if enabled by
* {@link Builder#logArea()} or {@link Builder#logArea(int)}. * {@link Builder#logArea() logArea()} or
* {@link Builder#logArea(int) logArea(int)}.
*/ */
public static void logClear() { public static void logClear() {
System.out.println("\nPassFailJFrame: log cleared\n"); System.out.println("\nPassFailJFrame: log cleared\n");
...@@ -1133,7 +1135,9 @@ public final class PassFailJFrame { ...@@ -1133,7 +1135,9 @@ public final class PassFailJFrame {
/** /**
* Replaces the log area content with provided {@code text}, if enabled by * Replaces the log area content with provided {@code text}, if enabled by
* {@link Builder#logArea()} or {@link Builder#logArea(int)}. * {@link Builder#logArea() logArea()} or
* {@link Builder#logArea(int) logArea(int)}.
*
* @param text new text for the log area * @param text new text for the log area
*/ */
public static void logSet(String text) { public static void logSet(String text) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment