首页 | 本学科首页   官方微博 | 高级检索  
     

JAVA 2 EVentQueue类与JAVA 2 Swing组件的界面刷新
引用本文:曹大有,王启东. JAVA 2 EVentQueue类与JAVA 2 Swing组件的界面刷新[J]. 微计算机应用, 2006, 27(3): 376-378
作者姓名:曹大有  王启东
作者单位:郧阳师范高等专科学校计算机科学系,丹江口,442700
摘    要:JAVA从内核上支持多线程编程技术,而Swing组件是JAVA 2中很重要的系统类库,由于Swing组件在多线程上的不安全性,使得在多线程程序中对Swing组件界面的刷新常常出现内容与显示不同步的问题.本文探讨了如何用EventQueue类中的Invokelater方法来构造一个新线程,解决swing组件的界面刷新问题.

关 键 词:多线程技术  刷新  同步
收稿时间:2005-01-10
修稿时间:2005-01-10

JAVA EventQueue Class with the Module of Swing
CAO Dayou,WANG Qidong. JAVA EventQueue Class with the Module of Swing[J]. Microcomputer Applications, 2006, 27(3): 376-378
Authors:CAO Dayou  WANG Qidong
Abstract: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.
Keywords:Swing
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号