paintComponent : Java Glossary

*0-9ABCDEFGHIJKLMNOPQRSTUVWXYZ (all)

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:

This page is posted
on the web at:

http://mindprod.com/jgloss/paintcomponent.html

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

J:\mindprod\jgloss\paintcomponent.html
Canadian Mind Products
Please the feedback from other visitors, or your own feedback about the site.
Contact Roedy. Please feel free to link to this page without explicit permission.

IP:[65.110.21.43]
Your face IP:[34.239.150.167]
You are visitor number