previous | index | next

Task 4: Connect a Slider to the Car Bean

Add a slider to the panel and give it a handler that moves the car:

As with the car's color, you can initialize its vertical position in the MyPanel constructor after the call to the initComponents method.


previous | index | next