like this?
import java.awt.Graphics;
import javax.swing.JApplet;
import javax.swing.JOptionPane;
public class drawRectangle extends JApplet
{
public int x;
Type: Posts; User: Baboop
like this?
import java.awt.Graphics;
import javax.swing.JApplet;
import javax.swing.JOptionPane;
public class drawRectangle extends JApplet
{
public int x;
how would i go about assigning the values for the rectangle in this particular instance?
allows for user input of the 4 values (x, y, width, height) but it wont draw the rectangle with those values.
import java.awt.Graphics;
import javax.swing.JApplet;
import...