Question: jframe how to add text?
Answer: JLabel label1 = new JLabel("Test"); To change the text in the label: label1. setText("Label Text"); And finally to clear the label: label1. setText(""); And all you have to do is place the label in your layout, or whatever layout system you are using, and then just add it to the JFrame...