8889909192939495969798
}); //custom code: mainPanel.add(new SetUpP(this), BorderLayout.CENTER); //mainPanel.add(new JButton("Hi"), BorderLayout.CENTER); //this.getFrame().repaint(); //this.setComponent(new JButton("hello")); }