adding ProgressBar in layout

Hi guys,

I feel like stupid right now, I cant make it work on adding ProgressBar to my layout. I dont see any ProgressBar that is being added in my layout. what am I missing here?

public class AlphaListMainUI extends VerticalLayout {

    EmployeeService es = new EmployeeServiceImpl();
    CorporationService cs = new CorporationServiceImpl();
    AlphaListService als = new AlphaListServiceImpl();
    
    ComboBox corporation = new CorporateComboBox();
    ComboBox trade = new ComboBox();
    ComboBox branch = new ComboBox(); 
    ComboBox year;
    Grid grid = new AlphaListDataGridProperty();
    
    private int branchId;
    
    public AlphaListMainUI() {
        setSizeFull();
        setMargin(true);
        
        addComponent(buildForms());  
        
        final ProgressBar progress = new ProgressBar(new Float(0.0));
        progress.setVisible(true);
        addComponent(progress);
        
        addComponent(populateGrid());        
    }

    .
    .
    .


}

sorry guys,

problem solved.

I remember having this kind of problem with grid several months ago and it was from the dashboard.scss that I was using and I just have to comment it “$v-included-components: remove($v-included-components, progressbar);”

tsk!