⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 right7_2_3_1.htm

📁 清华JAVA教程。不用多说了吧
💻 HTM
字号:
<html><head><title>JAVA编程语言</title><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><link rel="stylesheet" href="../../../css/text.css" type="text/css"></head><body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" ><table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">  <tr>     <td valign="top">       <table width="97%" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">        <tr>          <td height="244" valign="top">             <p> <span class="pt9-black">  <br>                      <img src="../../../images/tu/ch07/7_2_3_1.gif"><br>              <br>                根面板由一个玻璃面板(glassPane)、一个内容面板(contentPane)和一个可选择的菜单条(JMenuBar)组成,而内容面板和可选择的菜单条放在同一分层。玻璃面板是完全透明的,缺省值为不可见,为接收鼠标事件和在所有组件上绘图提供方便。<br>              <br>                根面板提供的方法:<br>                Container getContentPane(); <font color="339900">//获得内容面板</font><br>                setContentPane(Container); <font color="339900">//设置内容面</font><br>                JMenuBar getMenuBar( ); <font color="339900">//活动菜单条</font><br>                setMenuBar(JMenuBar); <font color="339900">//设置菜单条</font><br>                JLayeredPane getLayeredPane(); <font color="339900">//获得分层面板</font><br>                setLayeredPane(JLayeredPane); <font color="339900">//设置分层面板</font><br>                Component getGlassPane(); <font color="339900">//获得玻璃面板</font><br>                setGlassPane(Component); <font color="339900">//设置玻璃面板</font><br>              </span></p>            </td>        </tr>      </table>    </td>  </tr></table></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -