Introduction - If you have any usage issues, please Google them yourself
Version 2: 15 points out of a modified version of a class in the Fan, let inherits JPanel class, and the color attribute is set to Color type, default attribute is red. Randomly generated radius, in the range of 1-5 randomly generated color range red, blue, yellow, green, orange according to color, radius attribute values plotted fan. Run the following diagram: Version 3: Version 2 out of 20 points for the fans turn up. Create a FanControl class contains the following: Start, Stop, Reverse buttons for opening, closing and reverse control a scroll bar control speed. To run the sample as follows: