JLabel groupsLabel = new JLabel("Groups:");
groupsLabel.setAlignmentX(Component.LEFT_ALIGNMENT);
progressPanel.add(groupsLabel);
groupsProgressBar = new JProgressBar();
groupsProgressBar.setMinimumSize(new Dimension(500, 30));
groupsProgressBar.setPreferredSize(new Dimension(500, 30));
groupsProgressBar.setMaximumSize(new Dimension(Short.MAX_VALUE, 30));
groupsProgressBar.setAlignmentX(Component.LEFT_ALIGNMENT);
groupsProgressBar.setAlignmentY(Component.CENTER_ALIGNMENT);
progressPanel.add(groupsProgressBar);
progressPanel.add(Box.createRigidArea(new Dimension(0, 10)));
JLabel testsLabel = new JLabel("Tests:");
testsLabel.setAlignmentX(Component.LEFT_ALIGNMENT);
progressPanel.add(testsLabel);
testsProgressBar = new JProgressBar();
testsProgressBar.setMinimumSize(new Dimension(500, 30));
testsProgressBar.setPreferredSize(new Dimension(500, 30));
testsProgressBar.setMaximumSize(new Dimension(Short.MAX_VALUE, 30));
testsProgressBar.setAlignmentX(Component.LEFT_ALIGNMENT);
testsProgressBar.setAlignmentY(Component.CENTER_ALIGNMENT);