I have a method called getTheUserInput in a class which returns a String which updates based on user actions, which is located inside a class called Board.java.
getTheUserInput
There are two possibilities.
First is to update the text l.setText(b.getTheUserInput()); other option is that you did not add the label to a container.
l.setText(b.getTheUserInput());