I am tasked with creating a box grid using Java with NetBeans v16 IDE. I have implemented the code however the grid is being displayed. I can provide the actual code I am using if its needed.
The program runs and I have validated the Unicode values are properly formatted and I am not using a code for a question mark.
private static final char WALL_TOP_BOTTOM = 0x2550;
private static final char WALL_LEFT_RIGHT = 0x2551;
private static final char WALL_TOP_LEFT_CORNER = 0x2554;
private static final char WALL_TOP_RIGHT_CORNER = 0x2557;
private static final char WALL_BOTTOM_RIGHT_CORNER = 0x255D;
private static final char WALL_BOTTOM_LEFT_CORNER = 0x255A;
private static final char BOX_CHAR = 0x2588;
private static final char EMPTY = 0x2591;
When running the program I receive:
-- exec-maven-plugin:3.0.0:exec (default-cli) @ GridApp ---
????????????
????????????
????????????
????????????
????????????
????????????
????????????
????????????
????????????
????????????
????????????
????????????
Enter (U)p, (D)own, (L)eft, (R)ight, or (E)xit: