Appendix A. Graphics Programming

Graphics Programming

This appendix covers the features of window programming associated with graphics rather than window GUIs. In this section we will cover color, fonts, and how to draw shapes on a Canvas or JPanel. We will then look at Images and some Image Processing. We’ll finish up with an explanation and some sample programs showing Java’s support for elementary audio output. More comprehensive support for sound is in the Java Media Framework, which is beyond the scope ...

Get Just Java™ 2, Fifth Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.