Search:

Type: Posts; User: Johnathan_Cache

Search: Search took 0.09 seconds.

  1. Re: How to take User Inputted String for color, and use it in the drawShape(x,y,x,y, Color. )

    Hmm, so it sounds like the following:

    sg.print("What color would you like your Ellipse to be?"); //Prompt user for a color.
    String eColor = sg.keyReadString(); ...
  2. Re: How to take User Inputted String for color, and use it in the drawShape(x,y,x,y, Color. )

    Hi and Thank you.

    import simplegui.SimpleGUI;
    import java.awt.Color;

    The SimpleGUI is from a prepackage of demos for doing different things; from here:...
  3. How to take User Inputted String for color, and use it in the drawShape(x,y,x,y, Color. )

    Hi There,

    JDK 1.7 via NetBeans IDE 7.3.1

    I have a program that asks for user input using .keyReadString();

    The user can type in a color to be used to color a shape.

    I know that color...
  4. Johnathan_Cache - New Java Programming Student

    Greetings,

    I am a new Java programming student in my first class. Though I can read the text, follow the logic, and predict output, I am having a hard time writing the correct code 8-) The...
Results 1 to 4 of 4