摘要
针对Java应用程序中GUI的开发,分析MVC架构模式工作原理,阐述Java复合数据类型组件模型—视图—控制器的功能、相互关系及基于MVC模式的设计方法,并进一步详述Swing复合数据类型组件的代理事件与渲染重绘机制。将MVC架构与Swing组件的设计思想融汇在一起,最终揭示了JTable等复合数据类型组件在GUI设计中的灵活应用。
In view of actual application of GUI design in Java programming, in this paper we analyse the MVC architecture pattern and its principle.dwell on the function and mutual relation of Model-Visual-Controller of Java complex data type components, and the MVC pattern based design method, further more, we also expound the delegate event pattern and the render mechanism based on the complex data type components in Swing,band the MVC architecture and the Swing components design idea together, finally open out the flexible application of such complex data type components as JTable in GUI design.
出处
《计算机应用与软件》
CSCD
2009年第8期73-74,112,共3页
Computer Applications and Software
基金
四川省教育厅科研项目(08ZA170)