Swing中的线程安全方法是什么?以及griedlayout的用途是什么?何时需要使用它? [英] what are the thread -safe method in swing? and what is use of griedlayout and when we need to use it?

查看:135
本文介绍了Swing中的线程安全方法是什么?以及griedlayout的用途是什么?何时需要使用它?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨.....

Swing中的线程安全方法是什么? griedlayout的用途是什么?何时需要使用它?我在许多站点上搜索了网格布局,但是我对这些信息不满意.....所以请您解释一下或给我一些链接,以便我可以更好地理解

请帮助我....

在此先感谢...

hi.....

what are the thread -safe method in swing? and what is use of griedlayout and when we need to use it exactly? i search about grid layout on many sites but i can not satisfied with that information .... so plz can you explain me or give me some link for that so i can understand better

please help me....

thanks in advance...

推荐答案

您的第一个问题在本文中得到了很好的回答:规则异常 [ ^ ]

您可以通过比较布局管理器(包括GridLayout)来回答第二个问题,您可以在这里自己查看: ^ ]

问候,

曼弗雷德(Manfred)
Your first question is answered quite nicely in this article: Threads and Swing[^]. Especially this section will help you along: Exceptions to the rule[^]

Your second question is answered by a comparison of the layout managers including the GridLayout which you can see for yourself here: A Visual Guide to Layout Managers[^]

Regards,

Manfred


这篇关于Swing中的线程安全方法是什么?以及griedlayout的用途是什么?何时需要使用它?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆