+ 3
This will create a new jLabel and set its text. JLabel label = new JLabel(); label.setText("____"); You will need to add this label to something like a JFrame. If you want to quick and easy, here is the code to make a simple window with a label. is this is helpful?