@@ -0,0 +1,1410 @@
+import java.lang.InstantiationException;%0A%0Apublic class TerminalText %7B%0A%09%0A%09private TerminalText() throws InstantiationException %7B %0A%09%09throw new InstantiationException(); %0A%09%7D%0A%09%0A%09public static String red(String text) %09%09%09%7B return format(Code.RED, text); %7D%0A%09public static String blue(String text)%09%09%09%7B return format(Code.BLUE, text); %7D%0A%09public static String green(String text) %09%09%7B return format(Code.GREEN, text); %7D%0A%09public static String darkGray(String text) %09%09%7B return format(Code.DARK_GRAY, text); %7D%0A%09public static String lightGray(String text) %09%7B return format(Code.LIGHT_GRAY, text); %7D%0A%09public static String bold(String text) %09%09%09%7B return format(Code.BOLD, text); %7D%0A%09public static String underline(String text) %09%7B return format(Code.UNDERLINE, text); %7D%0A%09%0A%09private enum Code %7B%0A%09%09RED    %09%09(%22%5C033%5B31m%22, %22%5C033%5B39m%22),%0A%09%09BLUE    %09(%22%5C033%5B34m%22, %22%5C033%5B39m%22),%0A%09%09GREEN%09%09(%22%5C033%5B32m%22, %22%5C033%5B39m%22),%0A%09%09LIGHT_GRAY%09(%22%5C033%5B37m%22, %22%5C033%5B39m%22),%0A%09%09DARK_GRAY   (%22%5C033%5B38m%22, %22%5C033%5B39m%22),%0A%09%09GRAY%09%09(%22%5C033%5B37m%22, %22%5C033%5B39m%22),%0A%09%09BOLD   %09%09(%22%5C033%5B1m%22,   %22%5C033%5B0m%22),  // reset *all* attributes; reset bold not supported on BSD%0A%09%09UNDERLINE %09(%22%5C033%5B4m%22,  %22%5C033%5B24m%22);%0A%09%09%0A%09%09protected String code, reset;%0A%09%09%0A%09%09Code(String code, String reset) %7B%0A%09%09%09this.code = code;%0A%09%09%09this.reset = reset;%0A%09%09%7D%0A%09%09%0A%09%09public String toString() %7B%0A%09%09%09return code;%0A%09%09%7D%0A%09%7D%0A%09%0A%09private static String format(Code code, String text) %7B%0A%09%09return code.code + text + code.reset;%0A%09%7D%0A%7D%09

write simple TerminalText formatting class