我希望Lanterna生成的JFrame以屏幕为中心,而不是位于左上角。
DefaultTerminalFactory defaultTerminalFactory = new DefaultTerminalFactory();
defaultTerminalFactory.setInitialTerminalSize(new TerminalSize(STARTING_TERMINAL_COLUMNS, STARTING_TERMINAL_ROWS));
defaultTerminalFactory.setTerminalEmulatorTitle("Title");
term = defaultTerminalFactory.createTerminal();
screen = new TerminalScreen(term);