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...
Type: Posts; User: Nate08
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...
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"...
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 =...