txt_playMenu = new JLabel("Play options");
txt_playMenu.setFont(Constants.tahoma_medium_bold);
txt_playMenu.setForeground(Color.WHITE);
playHeadingPanel = new JCustomPanel(new FlowLayout(FlowLayout.CENTER, 1, 2), Constants.REGULAR_TILE_IMAGE_PATH);
playHeadingPanel.setPreferredSize(new Dimension(119,18));
playHeadingPanel.setOpaque(false);
playHeadingPanel.add(txt_playMenu);
rollDiceBtn = new JButton("Roll");
rollDiceBtn.setPreferredSize(new Dimension(110,22));
rollDiceBtn.addActionListener(new RollActionListener());
txt_rollsLeft = new JLabel("Rolls left: ");
txt_rollsLeft.setBorder(new EmptyBorder(4,0,0,0));
txt_rollsLeft.setFont(Constants.tahoma_mediumsmall_bold);
txt_rollsLeft.setForeground(Color.WHITE);
rollsLeftInd = new JLabel("2");
rollsLeftInd.setBorder(new EmptyBorder(4,0,0,0));
rollsLeftInd.setFont(Constants.tahoma_mediumsmall_bold);
rollsLeftInd.setForeground(Color.RED);
rollPanel = new JCustomPanel(new FlowLayout(FlowLayout.CENTER, 1, 2), Constants.REGULAR_TILE_IMAGE_PATH);
rollPanel.setPreferredSize(new Dimension(119, 45));
rollPanel.setBorder(BorderFactory.createMatteBorder(1, 0, 0, 0, Color.BLACK));
rollPanel.setOpaque(false);
rollPanel.add(rollDiceBtn);
rollPanel.add(txt_rollsLeft);
rollPanel.add(rollsLeftInd);
txt_turnTimeLeft = new JLabel("Turn time left:");
txt_turnTimeLeft.setFont(Constants.tahoma_mediumsmall_bold);
txt_turnTimeLeft.setForeground(Color.WHITE);
turnTimerText = new JLabelSubscriber("03:00");
turnTimerText.setFont(Constants.tahoma_mediumsmall_bold);
turnTimerText.setForeground(Color.RED);
client.setTurnTimer(new ActTimeCountdown(Client.TURN_TIME_MILLIS, Client.TIMEUNIT_MILLIS, client));
client.getTurnTimer().addSubscriber(turnTimerText);
turnTimePanel = new JCustomPanel(new FlowLayout(FlowLayout.CENTER, 10, 2), Constants.REGULAR_TILE_IMAGE_PATH);
turnTimePanel.setPreferredSize(new Dimension(119, 33));
turnTimePanel.setBorder(BorderFactory.createMatteBorder(1, 0, 1, 0, Color.BLACK));
turnTimePanel.setOpaque(false);
turnTimePanel.add(txt_turnTimeLeft);
turnTimePanel.add(turnTimerText);
skipTurnBtn = new JButton("Skip turn");
skipTurnBtn.setPreferredSize(new Dimension(110, 22));
skipTurnBtn.addActionListener(new SkipListener());
skipPanel = new JCustomPanel(new FlowLayout(FlowLayout.CENTER, 2, 2), Constants.REGULAR_TILE_IMAGE_PATH);
skipPanel.setPreferredSize(new Dimension(119, 27));
skipPanel.setOpaque(false);
skipPanel.add(skipTurnBtn);
}