Search:

Type: Posts; User: javapenguin

Search: Search took 0.10 seconds.

  1. Replies
    11
    Views
    2,101

    Re: Final Project Help Please? Due Tomorrow.

    It seems that in Buttons.java, if you remove the

    tank.repaint() and repaint() parts, then the weird glitchy painting goes away, though it won't update. So the error is something to do with...
  2. Replies
    11
    Views
    2,101

    Re: Final Project Help Please? Due Tomorrow.

    No, but I think I noticed something interesting.

    if (e.getSource() == fill) {
    tank.fillingWater();
    tank.repaint();
    }
    else if...
  3. Replies
    11
    Views
    2,101

    Re: Final Project Help Please? Due Tomorrow.

    I fixed that. It would seem that it only really dumps when you're either at the top, or even worse, more than overflowed.

    Perhaps first you should try and make it so that it can't go higher...
  4. Replies
    11
    Views
    2,101

    Re: Final Project Help Please? Due Tomorrow.

    Is it compiling?

    I'm getting these errors:

    DropButtons.java:14: type javax.swing.JComboBox does not take parameters
    JComboBox<?> fillingRate = new JComboBox<Object>(rates);
    ...
  5. Replies
    11
    Views
    2,101

    Re: Final Project Help Please? Due Tomorrow.

    Where are you having a hard time?
Results 1 to 5 of 5