Search:

Type: Posts; User: kbrady481

Search: Search took 0.07 seconds.

  1. Re: Java Program - Graphics - Ball Drop and Retrieve

    I have already outlined earlier in this forum what my code is supposed to do. It is supposed to display a window with three buttons, "Drop", "Retrieve", and "Quit", and a ball. My code accomplished...
  2. Re: Java Program - Graphics - Ball Drop and Retrieve

    I updated my code to this and it still isn't doing what it's supposed to :(



    import java.awt.*;
    import javax.swing.*;
    import java.awt.event.*;


    public class DropPanel extends JPanel...
  3. Re: Java Program - Graphics - Ball Drop and Retrieve

    Changed some things. Now, when I run the program, the window pops up with two buttons and a green ball at the top of the screen. When I click "Drop", the ball only drops 20 pixels, but does not...
  4. Re: Java Program - Graphics - Ball Drop and Retrieve

    Omg exciting! I was running the DropPanel but was supposed to be running DropDriver. So, when I run DropDriver, A window pops up with my two buttons, and a green ball starts dropping from about the...
  5. Re: Java Program - Graphics - Ball Drop and Retrieve

    Yes there are three classes in total for this program:



    /**
    * A class that puts a graphics window on your display
    */

    import java.awt.*;
    import javax.swing.*;
  6. Re: Java Program - Graphics - Ball Drop and Retrieve

    OK thanks! I've updated my code, an attempted to add some buttons...



    import java.awt.*;
    import javax.swing.*;
    import java.awt.event.*;


    public class DropPanel extends JPanel implements...
  7. Re: Java Program - Graphics - Ball Drop and Retrieve

    Well, right now my part of the program is pretty much all compilation errors. I have yet to even add the part where the ball is retrieved, nor have I added any buttons. I am mostly concerned with the...
  8. Java Program - Graphics - Ball Drop and Retrieve

    I am trying to make a display window with three buttons, "Drop", "Retrieve", and "Quit". When "Drop" is clicked, a ball must drop from the top of the screen and stop at the bottom. When "Retrieve" is...
Results 1 to 8 of 8