Method paintComponent is called when:
a. a lightweight Swing component is created.
b. a lightweight Swing component is displayed.
c. a lightweight Swing component is clicked.
d. an application exits.
b. a lightweight Swing component is displayed.
Computer Science & Information Technology