What method is called first: main() or paint() if my class extends JFrame?

Printable View