SE450
:
Composing Beans
[85/86]
Make new frame
Add car bean, slider to frame
Edit
stateChanged
event of slider
Add handler code
carBean1.setX(jSlider1.getValue());
Compile and run
Move slider: the car moves