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 spaceer(size - number) + numberLine(number) + "|" +
                numberLine(number) + spaceer(size - number) + " ";
    }

    public static String drawSpace(int size) {
        return spaceer(size) + "|" + spaceer(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 spaceer(int size) {
        String line = "";
        for (int j = 1; j <= size; j++) {
            line += " ";
        }
        return line;
    }
}
@@ -432,25 +432,24 @@
 return space
-e
 r(size - num
@@ -520,25 +520,24 @@
 ber) + space
-e
 r(size - num
@@ -618,25 +618,24 @@
 return space
-e
 r(size) + %22%7C
@@ -643,17 +643,16 @@
  + space
-e
 r(size) 
@@ -848,32 +848,32 @@
    for (int 
-j
+i
  = 1; 
-j
+i
  %3C= number; 
@@ -872,17 +872,17 @@
 number; 
-j
+i
 ++) %7B%0A  
@@ -976,17 +976,16 @@
 ng space
-e
 r(int si
@@ -1037,16 +1037,16 @@
 int 
-j
+i
  = 1; 
-j
+i
  %3C= 
@@ -1055,9 +1055,9 @@
 ze; 
-j
+i
 ++) 

improve variable naming