This is not a JPanel. This is a JFrame
containing JPanel
s.
The header can be set in the constructor and can be changed using setTitle()
If you read the tutorial to which you are attached, you will notice that there is a link to the Converter application. Further reading will lead you to the source for this tutorial application:
Converter application source
//Create and set up the window. JFrame frame = new JFrame("Converter");
source share