private void showTimes()
    {
        // Removing old data
        resultBox.removeAll();

        // Prepare data for showing
        JPanel resultLine;
        for (int i = 0; i < results.size(); ++i)
        {
            resultLine = new JPanel();
            results.get(i).putIntoPanel(resultLine);
            resultBox.add(resultLine);
        }
        
        frame.pack();
        resultBox.invalidate();

        //make them visible
        mainWindow.revalidate();
        mainWindow.repaint();
    }