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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.