Non-blocking modal Swing progress dialog

前端 未结 2 1591
梦如初夏
梦如初夏 2020-12-31 05:02

A daft question, but I really cannot get this to work: I have some long-running process in a Swing application which may take several minutes. I want to display a progress d

2条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-31 05:38

    You must be doing something wrong. Try the tutorial on How to Use Progress Bars. If you can understand how that code works, it should give you the direction for achieving the required feature.

    Note that progress bars are usually modal.

提交回复
热议问题