Search:

Type: Posts; User: Nate08

Search: Search took 0.09 seconds.

  1. Replies
    7
    Views
    1,287

    Re: can someone tell me what's wrong with my code

    To finish the program I have to draw the lines using the following rules:

    -Whatever number the user entered, that’s how many horizontal and vertical lines should be in the grid.
    -The lines should...
  2. Replies
    7
    Views
    1,287

    Re: can someone tell me what's wrong with my code

    That was my problem, thank you. But now I have another question, I need to have an input trap error so that the user can only enter numbers from 10 to 40. How would I do that, would I use an "if"...
  3. Replies
    7
    Views
    1,287

    can someone tell me what's wrong with my code

    import java.awt.Color;
    import javax.swing.JFrame;
    import java.awt.Graphics;
    import javax.swing.JOptionPane;

    public class Program2 extends JFrame {

    private static final int FRAME_SIZE =...
Results 1 to 3 of 3