public class CharacterDisplay {

    public static void show(String content, int size) {
        System.out.print(content + drawBase(size));
    }

    public static String drawBase(int size) {
        String base = "";
        for (int i = 1; i < 3 * (2 * size + 2); i++) {
            base += "-";
        }
        base += "\n\n";
        return base;
    }

    public static String drawNumbers(int number, int size) {
        return spacer(number, size) + numberLine(number) + "|" +
                numberLine(number) + spacer(number, size) + " ";
    }

    public static String drawSpace(int size) {
        return spaceLine(size) + "|" + spaceLine(size) + " ";
    }

    public static void message(String message) {
        System.out.println(message);
    }

    private static String numberLine(int number) {
        String line = "";
        for (int j = 1; j <= number; j++) {
            line += number;
        }
        return line;
    }

    private static String spacer(int start, int size) {
        String spacer = "";
        for (int j = start; j < size; j++) {
            spacer += " ";
        }
        return spacer;
    }

    private static String spaceLine(int size) {
        String line = "";
        for (int j = 1; j <= size; j++) {
            line += " ";
        }
        return line;
    }
}
@@ -432,38 +432,40 @@
 return space
+e
 r(
+size - 
 number
-, size
 ) + numberLi
@@ -529,22 +529,24 @@
 pace
+e
 r(
+size - 
 number
-, size
 ) + 
@@ -620,28 +620,26 @@
 return space
-Lin
 e
+r
 (size) + %22%7C%22
@@ -646,20 +646,18 @@
  + space
-Lin
 e
+r
 (size) +
@@ -984,208 +984,10 @@
 pace
-r(int start, int size) %7B%0A        String spacer = %22%22;%0A        for (int j = start; j %3C size; j++) %7B%0A            spacer += %22 %22;%0A        %7D%0A        return spacer;%0A    %7D%0A%0A    private static String spaceLin
 e
+r
 (int

simplify spacer() and spaceLine()