要在 Swing 中執行背景程式, 要使用 SwingWorker 物件. 繼承 SwingWorker 物件後, 要覆寫 doInBackground(). 在 doInBackground() 中放的就是我們要執行的背景程式內容.
張貼留言
沒有留言:
張貼留言