private void loadProperties() {
        try {
            controller.loadPropertiesFromFile(propertyFile);
        } catch (Exception e){
            JOptionPane.showMessageDialog(this,
                    "Can't load properties.",
                    "Properties warning",
                    JOptionPane.WARNING_MESSAGE);
        }
    }