Java GUI tutorial 2 – creating components, adding components to panel

In this tutorial we start off with explaining a few more methods in the JFrame class. Then we created our own JButton object and added it to the content panel of our JFrame.