What is AWT-Windows thread?
问题 When I am working with AWT, after calling the Toolkit.getDefaultToolkit() , I have printed the current running threads in my program. I would like to know what is that AWT-Windows thread that is running in the background. What does it do and why does it have 6 priority. Also, the line Thread[AWT-Windows,6,main] does the main mean that the thread is started in the main thread? Thanks in advance. 回答1: AWT is the Java Abstract Window Toolkit. The AWT thread should be handling all AWT events,