Label Changer

This is a simple application I created utilizing JFrames for my Java class. When the program is run a new window appears with a button labeled “Click Me!”. When the user clicks the button a name appears next to it. Every click changes the name that is displayed next to the button.

Click to view code

Screen Shot 2015-12-22 at 10.17.20 PM

Screen Shot 2015-12-22 at 10.17.28 PM

Screen Shot 2015-12-22 at 10.17.36 PM

Screen Shot 2015-12-22 at 10.17.44 PM

Screen Shot 2015-12-22 at 10.17.57 PM

Screen Shot 2015-12-22 at 10.18.05 PM