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
logo
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.
no blog for this page
IP:[65.110.21.43]
Your face IP:[54.80.63.78]
You are visitor number