CHAPTER 13

GRAPHICS

13.1 Introduction

So far, we have written many programs and seen their output on monitor screen. In all these outputs, monitor was displaying only text and not pictures. You may be surprised to know that 20 years before, 99% of the monitors could display only text. They could display images in very poor manner.

An image conveys any idea far more effectively than words. Therefore, we would like images to be shown on the screen. Even the text should be in various fonts and colours. This requires graphical capability. Modern monitors and operating systems have support for high-resolution graphics. In windows, the default screen itself is in high-resolution graphics.

Thus, today’s computers can be used in computer-aided design ...

Get Programming with Java 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.