Z-order:One difference between lightweight and heavyweight components
来源:互联网 发布:网络空间治理 网警 编辑:程序博客网 时间:2024/05/18 01:47
Swing components are referred to as lightweights while AWT components are referred to as heavyweights. One difference between lightweight and heavyweight components is z-order: the notion of depth or layering. Each heavyweight component occupies its own z-order layer. All lightweight components are contained inside heavyweight components, and they maintain their own layering scheme as defined by Swing. When you place a heavyweight inside another heavyweight container, it will, by definition, overlap all lightweights in that container.
What this ultimately means is that you should avoid using both heavyweight and lightweight components in the same container whenever possible. The most important rule to follow is that you should never place heavyweight components inside lightweight containers that commonly support overlapping children.
- Z-order:One difference between lightweight and heavyweight components
- one mail for difference between LOCAL_LDLIBS and LOCAL_SHARED_LIBRARIES of Android
- One Importance Difference between Stored Procedure and Stored Function
- The difference between (()) and ().
- difference between "<" and "<<"
- What’s the difference between Catia, SolidWorks and Inventor? Which one for me?
- Difference Between typedef and #define
- Difference between PCDATA and CDATA
- Difference between CComPtr and CComQIPtr
- Difference between RVCT and GCCE
- Difference between RVCT and GCCE
- difference between slist and list.
- difference between stack and heap
- Difference between replace and translate
- Difference between PrintWriter and PrintStream
- difference between Cookie and Session
- Difference Between Buffer and Cache
- Difference between Statement and preparedStatement
- 国外一个高手写的魔兽世界2D版,大家一起来研究。
- IbatisNet的使用学习体会(附demo)
- 通过Visual C#.NET建一个DTS任务
- DDK 编程 序
- 从ASP.NE T 1.1升级到ASP.NET 2.0需要考虑的Cookie问题
- Z-order:One difference between lightweight and heavyweight components
- 所有的WMI可以使用的class
- Listview中实现点击栏目标题排序
- 服务器性能监控之WMI
- 使用UDP穿越NAT的原理
- NY之行-2.Tracking
- 常见Java开源JMS消息中间件及特性简介
- 08年高水平IT人员需求仍很强劲 技术人才空缺
- 39条形码制作的一种办法