diff --git a/src/main/java/src/MainFrame.java b/src/main/java/src/MainFrame.java index 7a57b6e..3865459 100644 --- a/src/main/java/src/MainFrame.java +++ b/src/main/java/src/MainFrame.java @@ -43,22 +43,6 @@ public class MainFrame extends JFrame { boxPanel.setLayout(new BoxLayout(boxPanel, BoxLayout.X_AXIS)); rootPanel.add(boxPanel); -// JPanel panel2 = new JPanel(); -// panel2.setBackground(Color.BLUE); -// panel2.setVisible(true); -// panel2.setBorder(new LineBorder(Color.PINK, 1)); -// boxPanel.add(panel2); -// boxPanel.add(Box.createHorizontalStrut(5)); -// -// JLabel numLabel2 = new JLabel(); -// numLabel2.setText("2"); -// numLabel2.setLayout(null); -// numLabel2.setVisible(true); -// panel2.add(numLabel2); - - - - JButton back = new JButton(); back.setVisible(true); back.setBounds(5, 5, 100, 25); @@ -86,6 +70,7 @@ public class MainFrame extends JFrame { + public JPanel setupJPanel() { JPanel panel = new JPanel(); panel.setBounds(100, 450, 300, 30);