public void buildFrame(){
        String s = "  ";
        frame.setLayout(layout);
        outputLabel.setText("Queue:"+s+"   Nr. of Clients:  "+s+"  avg. Waiting Time:  "+s+" avg. Service Time: "+s+" empty Queue Time:");
        frame.add(outputLabel);
        
        frame.add(AppTime);
        AppTime.setEditable(false);
        
        frame.add(emptyPanel);
        frame.add(labelQueue1);
        
        frame.add(emptyPanel);
        frame.add(labelQueue2);
        
        frame.add(emptyPanel);
        frame.add(labelQueue3);
       
        buttonPanel.add(buttonStop);
        buttonPanel.add(buttonContinue);

        frame.add(emptyPanel);
        frame.add(buttonPanel);

        frame.setSize(600, 400);
        frame.setVisible(true);
        frame.setDefaultCloseOperation(EXIT_ON_CLOSE);
        
        ActionListener listener1 = new ActionListener() {
            @Override
            public void actionPerformed(ActionEvent e) {
                    simulationPaused = true;
             }
        };
        ActionListener listener2 = new ActionListener() {
            @Override
            public void actionPerformed(ActionEvent e) {
                    simulationPaused = false;
             }
        };
        this.buttonStop.addActionListener(listener1);
        this.buttonContinue.addActionListener(listener2);
    }