public void draw(Graphics2D g)
    {
        g.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);
        
        g.setColor(Color.black);
        g.fillRect(0, 0, DisplayMonitor.screen.width, DisplayMonitor.screen.height);
        
        g.setColor(Color.red);
        for (int i = 0; i < points.size(); i++)
        {
            g.fillOval(points.get(i).x - 3, points.get(i).y - 3, 6, 6);
        }
        
        g.setColor(Color.white);
        g.drawString("Display Test", 25, 30);
        g.drawString("Screen size: " + DisplayMonitor.screen.width + ", " + 
                DisplayMonitor.screen.height, 25, 50);
        g.drawString("Display chang supported: " + DisplayMonitor.isDisplayChangeSupported(),
                25, 70);
        g.drawString("Press [ESC] to exit.", 25, 90);
    }