Using the setStyle() method