paintComponent : Java Glossary

paintComponent
not to be confused with Container.paintComponents. In Swing, you override the paintComponent method of your JComponent, usually a JPanel, rather than the paint method of a Canvas as you do in AWT (Advanced Windowing Toolkit). Here is some sample code to make a simple drawing, and save it as a *.png image file.

Learning More

Oracle’s Javadoc on paint package : available:

available on the web at:

http://mindprod.com/jgloss/paintcomponent.html
ClustrMaps is down

optional Replicator mirror
of mindprod.com
on local hard disk J:

J:\mindprod\jgloss\paintcomponent.html
logo
Please the feedback from other visitors, or your own feedback about the site.
Contact Roedy.
Blog
IP:[65.110.21.43]
Your face IP:[54.80.12.147]
You are visitor number 18,647.