Search:

Type: Posts; User: KevinWorkman

Search: Search took 0.19 seconds.

  1. Replies
    8
    Views
    2,403

    Re: Breakout Game

    That line might be one of your problems, but your painting is definitely also incorrect. That could possibly lead to a bunch of other problems (or cover up problems that are already there), so it's...
  2. Replies
    8
    Views
    2,403

    Re: Breakout Game

    Well here's your first problem- you should never use getGraphics() on a component. Extend the JPanel and override paintComponent() instead.

    Recommended reading: Painting in AWT and Swing
  3. Replies
    8
    Views
    2,403

    Re: Breakout Game

    How does the game "not continue properly"? Do you get an Exception? Does it freeze up? Something else? Have you stepped through the program with a debugger?

    PS- Mentioning your deadlines will make...
Results 1 to 3 of 3