Search:

Type: Posts; User: Baboop

Search: Search took 0.18 seconds.

  1. Re: Most of my code works when executed except for the Min and Max calculations

    i only added the println to the min and max because those are the only two that aren't working properly.
  2. Re: Most of my code works when executed except for the Min and Max calculations

    it printed "The smallest value is 0" for the min and "The largest value is 0" for the max.
  3. Replies
    5
    Views
    201

    Re: Wont display the rectangle.

    like this?


    import java.awt.Graphics;
    import javax.swing.JApplet;
    import javax.swing.JOptionPane;

    public class drawRectangle extends JApplet
    {
    public int x;
  4. Re: Most of my code works when executed except for the Min and Max calculations

    even with the println call it still says the max and min are both 0.
  5. Replies
    5
    Views
    201

    Re: Wont display the rectangle.

    how would i go about assigning the values for the rectangle in this particular instance?
  6. Re: Most of my code works when executed except for the Min and Max calculations

    yes it executes but it just says the min value is 0 and the max value is 0
  7. Replies
    5
    Views
    201

    Wont display the rectangle.

    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...
  8. Most of my code works when executed except for the Min and Max calculations

    Everything works exactly like its suppose to but when its suppose to show the max and min values out of the 3 numbers, it just returns 0.



    //23.4
    import java.awt.Graphics;
    import...
Results 1 to 8 of 8