Java内容窗格 [英] Content Panes in Java

查看:191
本文介绍了Java内容窗格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是编程新手,只是在研究JFrame等,在这里我阅读ContentPane就像这样:组件位于内容窗格"中,而不是直接位于框架中."当我搜索COntentpane时,我看到了包含层次结构,这让我很难理解,

I am new to programming and was just studying JFrame etc , here i read ContentPane Like this "Components go in the "content pane", not directly in the frame." when i did search COntentpane i read containment hierarch that is pretty confusing for me to understand ,

有人可以让我弄清楚ContentPane的概念和Gui Component的包含层次结构

Can some one please clear me the concept of ContentPane and containment hierarchy of Gui Component

推荐答案

我认为此图清楚地描述了您想要的内容:

I think this diagram describes distinctly what you want:

这篇关于Java内容窗格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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