A Digital Age Deserves A Digital Leader

In Java, what is the difference between Graphics.paint and Graphics.paintComponent?

In Java, what is the difference between Graphics.paint and Graphics.paintComponent?

Postby Andrew. » Thu Oct 09, 2008 12:50 am

In Java I'm using the <graphics>.paint() method at present, however people in my workplace are using <graphics>.paintCompponent();

Is there any defining differences?
PRO Level 12
Posts: 549
Joined: Wed Sep 08, 2004 6:22 am
Location: New Zealand - Aotearoa

Return to HTML, CSS, and Scripts

Who is online

Users browsing this forum: No registered users and 1 guest