软件包 | 描述 |
---|---|
java.awt |
包含创建用户界面和绘制图形和图像的所有类。
|
Modifier and Type | Method and Description |
---|---|
MenuBar |
Frame.getMenuBar()
获取此框架的菜单栏。
|
Modifier and Type | Method and Description |
---|---|
protected abstract java.awt.peer.MenuBarPeer |
Toolkit.createMenuBar(MenuBar target)
创建这个工具的实现
MenuBar 使用指定的节点接口。
|
void |
Frame.setMenuBar(MenuBar mb)
将此框的菜单栏设置为指定的菜单栏。
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.