import javax.swing.JFrame; import javax.swing.JComponent; public class othello2 extends JFrame { public static void main (String[] args) { JFrame.setDefaultLookAndFeelDecorated(true); JFrame frame = new JFrame(); frame.setTitle("Othello"); frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); othello2GUI panMain = new othello2GUI(); frame.setResizable(false); frame.setContentPane(panMain); frame.pack(); frame.setVisible(true); } }