private void createListSubtasks(ResultSet result){
        try{
            
            while(result.next()){
                
                Subtask subtask = new Subtask();
                subtask.setName( result.getString("podukol") );
                subtask.setDate( result.getString("datum") );
                subtask.setTimer(start);
                subtasks = append(subtasks, subtask);
                
            }
        }catch(SQLException se){
            //Handle errors for JDBC
            se.printStackTrace();
        }
    }