MCPcopy Create free account
hub / github.com/TheCyaniteProject/exit_code_java / printText

Method printText

src/main/java/exitcode/Console.java:170–172  ·  view source on GitHub ↗

A simple method for printing text to a terminal. @param termArea The Label to print to. @param text The String to print.

(Label termArea, String text)

Source from the content-addressed store, hash-verified

168 * @param text The String to print.
169 */
170 public static void printText(Label termArea, String text) {
171 termArea.setText(String.format("%s%n%s", termArea.getText(), text));
172 }
173
174 /**
175 * Sets the value of this.rootPriv

Callers 13

runCommandMethod · 0.95
runMethod · 0.95
runMethod · 0.95
runMethod · 0.95
runMethod · 0.95
runMethod · 0.95
runMethod · 0.95
runMethod · 0.95
runMethod · 0.95
runMethod · 0.95
runMethod · 0.95
runMethod · 0.95

Calls 2

setTextMethod · 0.80
getTextMethod · 0.80

Tested by

no test coverage detected