panel.setBorder(BorderFactory.createEmptyBorder(pad, pad, pad, pad));
progress = new JProgressBar();
progress.setPreferredSize(new Dimension(350, progress.getPreferredSize().height));
progress.setIndeterminate(true);
panel.add(progress);
handler = new LabelLogHandler();
Logger.getLogger("").addHandler(handler);
handler.label.setBorder(BorderFactory.createEmptyBorder(pad, 0, 0, 0));
final Font font = handler.label.getFont();
handler.label.setFont(new Font(font.getFamily(), Font.BOLD, font.getSize()));
handler.label.setPreferredSize(new Dimension(progress.getWidth(), handler.label.getPreferredSize().height + pad));