public PanProgBar() {
        this.setPreferredSize(new Dimension(200, 40));
        progressBar = new JProgressBar(0, 100);
        progressBar.setPreferredSize(new Dimension(400, 40));
        progressBar.setStringPainted(true);
        this.add(progressBar);
    }