Well, what's the best way to queue up in java? For example I select 3 files, these files stay in a queue until the process of reading and generating the report is finalized, as soon as the report is generated the other file goes into execution. NOTE: I am using java desktop. Thanks guys.