Select value from dynamic list in desktop application

Hello All,
Is it possible to select a data in dynamic list (dropdown) in desktop java app ?

I have list A and value in list B depends on what was selected in A. I have Excel file with many rows to add to the form and it changes daily.

Thanks for help.
Piotr

@Piotr_Maslanka - it should be possible.

Cannot say for sure - need your app example