Skip to content
Snippets Groups Projects
Commit c8f8c6a8 authored by Adwity Sharma's avatar Adwity Sharma
Browse files

Update Pong_viewAndController.java

parent 718a4722
No related branches found
No related tags found
No related merge requests found
import java.awt.*;
import javax.swing.*;
......@@ -40,14 +39,14 @@ public class Pong_viewAndController extends JFrame{
exit.setAlignmentX(Component.CENTER_ALIGNMENT);
buttonPanel.add(exit);
JPanel west = new JPanel(new GridBagLayout());
west.add(buttonPanel);
//JPanel west = new JPanel(new GridBagLayout());
// west.add(buttonPanel);
Game game = new Game();
//game_interface.add(buttonPanel);
game_interface.add(buttonPanel);
game_interface.add(game);
add(west,BorderLayout.WEST);
//add(west,BorderLayout.WEST);
add(game_interface);
setLocationRelativeTo(null);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment