jButton.addActionListener(this); will add and action listener which will listen for clicks. If a click occurs on jButton it will search 'this' for the action handler to figure out what to do.
Before you try doing UI, you should attempt to learn the basics of Java and OOP. Java's website java.sun.com
has some good tutorials or you can checkout/buy a book on beginning java programming.