//Create the contentpane JPanel(bgPanel) of the frame, the root container for all following elements
bgPanel = new JCustomPanel(new BorderLayout(), Constants.MAIN_BACKGROUND_IMAGE_PATH);
bgPanel.setBorder(BorderFactory.createMatteBorder(1,1,1,1,Color.BLACK));
setContentPane(bgPanel);
//Create a panel for animation behaviour (drawingPanel) to display dice rolls etc.
drawingPanel = new DrawingPanel(curGameDice);
drawingPanel.addMouseListener(new ClickDiceListener());
drawingPanel.setOpaque(false);
getContentPane().add(drawingPanel);
}