Difference between paint, paintComponent and paintComponents in Swing
AWT, override paint(). Swing top-level container (e.g.s are JFrame, JWindow, JDialog, JApplet ..), override paint(). But there are a number of good reasons not to paint in a TLC. A subject for a separate question, perhaps. The rest of Swing (any component that derives from JComponent), override paintComponent(). Neither override nor explicitly call paintComponents(), leave … Read more