Listing 1 shows a small fraction of the rendering code of a component. public void paintComponent(Graphics g) { Graphics2D g2d = (Graphics2D)g; Font font = new Font("Arial", Font.PLAIN, 12); g2d.setFont(font); g2d.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON); g2d.drawString("Hello World", 25, 100); } Listing 1: Displaying Text in Arial 12pt. If you execute t