Color Changer

This is a small application utilizing JFrames that I created for my Java class. When the program is run a window is created with a button labeled “Click Me!”. When the user clicks the button, the color changes on one of the outside borders. If the user clicks again after all the borders are different colors, the borders all reset to being uncolored and the user can start clicking again to color them.

Click to view code

Screen Shot 2015-12-23 at 12.59.56 AM

Screen Shot 2015-12-23 at 1.00.04 AM

Screen Shot 2015-12-23 at 1.00.28 AM

Screen Shot 2015-12-23 at 1.00.34 AM

Screen Shot 2015-12-23 at 1.00.40 AM

Screen Shot 2015-12-23 at 1.00.45 AM