Use the example below along with the descriptions and discussion in this article as a starting point to learning about the new AWT focus subsystem.
因為重量級的組件實施使用一個*的本機窗口(AWT組件),對於本機焦點系統它們是可信賴的。
然而,由於只有一個AWT線程,因此要在AWT線程中執行任務可能要花費相當長時間才能完成,這是不可取的。