Mouse Click Info

The is a small application utilizing JFrames that I created for my Java class. When the program is run, a window is created with a label saying “Click Here To See Mouse Info”. When the label is clicked with the left mouse button, the label changes to “Left Mouse Button Clicked” and a pre-set return value is shown. When the label is clicked with the right mouse button, the label changes to “Right Mouse Button Clicked” and a pre-set return value is shown.

Click to view code

Screen Shot 2015-12-23 at 1.53.00 AM

Screen Shot 2015-12-23 at 1.53.15 AM

Screen Shot 2015-12-23 at 1.53.21 AM