How to display Progress bar for a procedure call

前端 未结 2 862
逝去的感伤
逝去的感伤 2021-01-25 23:28

I have data stored in Jtable, and then I am taking this data row by row and passing this data to a callable procedure in database(1 call for each row), and Procedure returns the

2条回答
  •  梦谈多话
    2021-01-25 23:56

    You need to use SwingWorker for updating UI while you do long background process.

    Read tutorail for SwingWorker and Concurency in Swing.

提交回复
热议问题