All pastes #906887 Raw Edit

Untitled

public text v1 · immutable
·published 2008-02-17 01:57 UTC
rendered paste body
import java.awt.*;
import hsa.Console;

public class PortraitUpdatedbackup
{

    static Console c;

    public static void main (String[] args)
    {

        Color Brown = new Color (191, 104, 17); //Code for brown colour
        Color LBlue = new Color (147, 232, 235); //Code for light blue colour
        Color Grey = new Color (153, 153, 153); //Code for grey colour

        String f;
        c = new Console ();

        c.println ("Would you like your face to be round or square?");
        f = c.readString ();

        if (f == "round")
        {
        
           //c.setColor (Brown);
            c.fillOval (100, 100, 400, 400);
        }
        else if (f == "square")
        {

            c.fillRect (100, 100, 400, 400);
        }
      
    }
}