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