/** @param numberToPrint will be printed on the JFrame console */ public void print(int numberToPrint) { Window.MAIN_GAMING_WINDOW.setText( Integer.toString(numberToPrint) + "\n" + Window.MAIN_GAMING_WINDOW.getText()); }
/** @param textToPrint will be printed on the JFrame console */ public void print(String textToPrint) { Window.MAIN_GAMING_WINDOW.setText(textToPrint + "\n" + Window.MAIN_GAMING_WINDOW.getText()); }