Create a Java Label
"// vim: syntax=Java" JLabel AnswerDisplay = new JLabel(); AnswerDisplay.setText(" ANSWER "); AnswerDisplay.setSize(200,100); AnswerDisplay.setBounds(300,100,100,50); panel.add(AnswerDisplay);