You win if the wall is destroyed; lose if the ball touches the bottom of the screen.
Left, right - to move paddle. Space - to start or pause the game.
The game isn’t perfect, there are some bugs and game physics isn’t nice at all, but it’s not important for me. My primary target was to finish this game, not to perfect it.
Game has to work on any screen; all game elements sizes are relative to full screen size. I have made it so, because my previous Java Swing application was strongly restricted by constants and I couldn’t simply add full-screen mode to it.