摘要
JAVA从内核上支持多线程编程技术,而Swing组件是JAVA2中很重要的系统类库,由于Swing组件在多线程上的不安全性,使得在多线程程序中对Swing组件界面的刷新常常出现内容与显示不同步的问题。本文探讨了如何用EventQueue类中的Invokelater方法来构造一个新线程,解决swing组件的界面刷新问题。
JAVA is from the inside core support multi-threading technique, but the module of Swing is line distance insecurity that JAVA 2 inside very important class, because of it, make the module of Swing broken to usually appear the problem. This text then inquiry into how to can struct anew cue method, the inter face resolves the module of swing brears the problem.
出处
《微计算机应用》
2006年第3期376-378,共3页
Microcomputer Applications