Label Mover

This is a small application utilizing JFrames that I created for my Java class. When the program is run, a frame is created with a button labeled “Click Me!”. When the user clicks the button a label appears above the button. Each time the button is clicked the label is moved around the frame clockwise. When the next click would bring the label back to its starting position, the frame resets to how it originally was with no label showing. The user can then start clicking again to make the label move around the frame.

Click to view code

Screen Shot 2015-12-23 at 1.15.51 AM

Screen Shot 2015-12-23 at 1.15.58 AM

Screen Shot 2015-12-23 at 1.16.04 AM

Screen Shot 2015-12-23 at 1.16.10 AM

Screen Shot 2015-12-23 at 1.16.16 AM

Screen Shot 2015-12-23 at 1.16.22 AM