code: synchronized Dimension getPreferredSize() {
          return new Dimension(getFontWidth() * virtualTerminal.getTerminalSize().getColumns(),
                  getFontHeight() * virtualTerminal.getTerminalSize().getRows());
      }
docs: Calculates the preferred size of this terminal
  @return Preferred size of this terminal