您的位置:首页 > 其它

Window/Frame/JFrame

2017-04-05 15:30 78 查看


A Window object is a top-level window with no borders and no menubar. The default layout for a window is BorderLayout.

一个Window对象是一个,没有边界,没有菜单条的顶级窗口。一个窗口的默认布局BorderLayout。

A window must have either a frame, dialog, or another window defined as its owner when it’s constructed.

















A Frame is a top-level window with a title and a border.

Frame是一个有标题和边框的顶级的窗体

The default layout for a frame is BorderLayout







Like all other JFC/Swing top-level containers, a JFrame contains a JRootPane as its only child

像所有其他JFC / Swing顶级容器,JFrame包含JRootPane作为其唯一的孩子

The contentpane provided by the root pane should, as a rule, contain all the non-menu components displayed by the JFrame

内容面板由根面板提供,可包含并显示JFrame的所有non-menu组件







内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  Window Frame JFrame