亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? the jcomponent class.htm

?? 幾個簡單的java學習代碼
?? HTM
?? 第 1 頁 / 共 2 頁
字號:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>The JComponent Class</TITLE>
<META content="text/html; charset=gb2312" http-equiv=Content-Type>
<META content="Microsoft FrontPage 4.0" name=GENERATOR></HEAD>
<BODY bgColor=#ffffff link=#000099>
<BLOCKQUOTE> 
  <UL>
    <LI><A 
    href="file:///E:/mdf/java/tutorial/uiswing/components/jcomponent.html#complookapi">Customizing 
    Component Appearance</A> 
    <LI><A 
    href="file:///E:/mdf/java/tutorial/uiswing/components/jcomponent.html#stateapi">Setting 
    Component State</A> 
    <LI><A 
    href="file:///E:/mdf/java/tutorial/uiswing/components/jcomponent.html#eventapi">Handling 
    Events</A> 
    <LI><A 
    href="file:///E:/mdf/java/tutorial/uiswing/components/jcomponent.html#custompaintingapi">Painting 
    Components</A> 
    <LI><A 
    href="file:///E:/mdf/java/tutorial/uiswing/components/jcomponent.html#containmentapi">Dealing 
    with the Containment Hierarchy</A> 
    <LI><A 
    href="file:///E:/mdf/java/tutorial/uiswing/components/jcomponent.html#layoutapi">Laying 
    Out Components</A> 
    <LI><A 
    href="file:///E:/mdf/java/tutorial/uiswing/components/jcomponent.html#sizeapi">Getting 
    Size and Position Information</A> 
    <LI><A 
    href="file:///E:/mdf/java/tutorial/uiswing/components/jcomponent.html#absoluteapi">Specifying 
    Absolute Size and Position</A> </LI></UL>
  <P>
  <TABLE border=1>
    <CAPTION><A name=complookapi><B>Customizing Component Appearance</B> 
    </A></CAPTION>
    <TBODY>
    <TR>
      <TH>Method </TH>
      <TH>Purpose</TH>
    <TR>
      <TD><CODE><FONT size=2>void setBorder(Border) <BR>Border getBorder() 
        </FONT></CODE><BR><EM>(in <CODE>JComponent</CODE>)</EM></TD>
      <TD>Set or get the border of the component. See <A 
        href="file:///E:/mdf/java/tutorial/uiswing/misc/border.html" 
        target=_top>How to Use Borders</A><A 
        href="file:///E:/mdf/java/tutorial/uiswing/misc/border.html" 
        target=_top><IMG alt="(in the Creating a User Interface trail)" border=0 
        height=20 src="The JComponent Class.files/uiIcon.gif" width=20></A> for 
        details. </TD></TR>
    <TR>
      <TD><CODE><FONT size=2>void setForeground(Color) <BR>Color 
        getForeground() <BR>void setBackground(Color) <BR>Color 
        getBackground()</FONT></CODE> <BR><EM>(in 
        <CODE>java.awt.Component</CODE>)</EM> </TD>
      <TD>Set or get the foreground or background color for the component. The 
        foreground is generally the color used to draw the text in a component. 
        The background is (not surprisingly) the color of the background areas 
        of the component, assuming that the component is opaque. </TD></TR>
    <TR>
      <TD><CODE><FONT size=2>void setOpaque(boolean) </FONT></CODE><BR><EM>(in 
        <CODE>JComponent</CODE>)</EM></TD>
      <TD>Set whether the component is opaque. An opaque component fills its 
        background with its background color.</TD></TR>
    <TR>
      <TD><CODE><FONT size=2>boolean isOpaque </FONT></CODE><BR><EM>(in 
        <CODE>JComponent</CODE>)</EM></TD>
      <TD>Get whether the component is opaque. This method (but not 
        <CODE>setOpaque</CODE>) was added to <CODE>Component</CODE> in 1.2. </TD>
    <TR>
      <TD><CODE><FONT size=2>void setFont(Font) <BR>Font getFont() 
        </FONT></CODE><BR><EM>(in <CODE>java.awt.Component</CODE>)</EM></TD>
      <TD>Set or get the component's font. If a font has not been set for the 
        component, the font of its parent is returned.</TD></TR>
    <TR>
      <TD><CODE><FONT size=2>FontMetrics getFontMetrics(Font) 
        </FONT></CODE><BR><EM>(in <CODE>java.awt.Component</CODE>)</EM></TD>
      <TD>Get the font metrics for the specified 
font.</TD></TR></TR></TBODY></TABLE>
  <P>
  <TABLE border=1>
    <CAPTION><A name=stateapi><B>Setting Component State</B> </A></CAPTION>
    <TBODY>
    <TR>
      <TH>Method </TH>
      <TH>Purpose</TH>
    <TR>
      <TD><CODE><FONT size=2>void setToolTipText(String) 
        </FONT></CODE><BR><EM>(in <CODE>JComponent</CODE>)</EM></TD>
      <TD>Set the text to display in a tool tip. See <A 
        href="file:///E:/mdf/java/tutorial/uiswing/components/tooltip.html">How 
        to Use Tool Tips</A> for more information.</TD></TR>
    <TR>
      <TD><CODE><FONT size=2>void setEnabled(boolean b) <BR>boolean 
        isEnabled() </FONT></CODE><BR><EM>(in 
        <CODE>java.awt.Component</CODE>)</EM></TD>
      <TD>Set or get whether the component is enabled. An enabled component 
        can respond to user input and generate events.</TD></TR>
    <TR>
      <TD><CODE><FONT size=2>void setLocale(Locale l) <BR>Locale getLocale() 
        </FONT></CODE><BR><EM>(in <CODE>java.awt.Component</CODE>)</EM></TD>
      <TD>Set or get the component's locale. If the component does not have a 
        locale, the locale of its parent is returned. See <A 
        href="file:///E:/mdf/java/tutorial/i18n/index.html" 
        target=_top>Internalization</A><A 
        href="file:///E:/mdf/java/tutorial/i18n/index.html"><IMG 
        alt="(in the Internationalization trail)" border=0 height=20 
        src="The JComponent Class.files/internatsm.GIF" width=20></A> for 
        information about locales. </TD></TR>
    <TR>
      <TD><CODE><FONT size=2>void setCursor(Cursor) <BR>Cursor getCursor() 
        </FONT></CODE><BR><EM>(in <CODE>java.awt.Component</CODE>)</EM></TD>
      <TD>Set or get the cursor image to display when the mouse is over the 
        component.</TD></TR>
    <TR>
      <TD><CODE><FONT size=2>void setVisible(boolean) <BR>boolean isVisible() 
        </FONT></CODE><BR><EM>(in <CODE>java.awt.Component</CODE>)</EM></TD>
      <TD>Set or get whether the component is visible. Components are 
        initially visible, with the exception of top-level components. 
    </TD></TR></TBODY></TABLE>
  <P>
  <TABLE border=1>
    <CAPTION><A name=eventapi><B>Handling Events</B> <BR>(see <A 
    href="file:///E:/mdf/java/tutorial/uiswing/overview/event.html" 
    target=_top>Event Handling</A><A 
    href="file:///E:/mdf/java/tutorial/uiswing/overview/event.html" 
    target=_top><IMG alt="(in the Creating a User Interface trail)" border=0 
    height=20 src="The JComponent Class.files/uiIcon.gif" width=20></A> for 
    details) </A></CAPTION>
    <TBODY>
    <TR>
      <TH>Method </TH>
      <TH>Purpose</TH>
    <TR>
      <TD><CODE><FONT size=2>void addComponentListener(ComponentListener) 
        <BR>void removeComponentListener(ComponentListener) 
        </FONT></CODE><BR><EM>(in <CODE>java.awt.Component</CODE>)</EM></TD>
      <TD>Add or remove a <A 
        href="file:///E:/mdf/java/tutorial/uiswing/events/componentlistener.html" 
        target=_top>component listener</A><A 
        href="file:///E:/mdf/java/tutorial/uiswing/events/componentlistener.html" 
        target=_top><IMG alt="(in the Creating a User Interface trail)" border=0 
        height=20 src="The JComponent Class.files/uiIcon.gif" width=20></A> to 
        or from the component. Component listeners are notified when the 
        listened-to component is hidden, shown, moved, or resized.</TD></TR>
    <TR>
      <TD><CODE><FONT size=2>void addKeyListener(KeyListener) <BR>void 
        removeKeyListener(KeyListener l) </FONT></CODE><BR><EM>(in 
        <CODE>java.awt.Component</CODE>)</EM></TD>
      <TD>Add or remove a <A 
        href="file:///E:/mdf/java/tutorial/uiswing/events/keylistener.html" 
        target=_top>key listener</A><A 
        href="file:///E:/mdf/java/tutorial/uiswing/events/keylistener.html" 
        target=_top><IMG alt="(in the Creating a User Interface trail)" border=0 
        height=20 src="The JComponent Class.files/uiIcon.gif" width=20></A> to 
        or from the component. Key listeners are notified when the user types at 
        the keyboard and the listened-to component has the keyboard focus.</TD></TR>
    <TR>
      <TD><CODE><FONT size=2>addMouseListener(MouseListener l) <BR>void 
        removeMouseListener(MouseListener) </FONT></CODE><BR><EM>(in 
        <CODE>java.awt.Component</CODE>)</EM></TD>
      <TD>Add or remove a <A 
        href="file:///E:/mdf/java/tutorial/uiswing/events/mouselistener.html" 
        target=_top>mouse listener </A><A 
        href="file:///E:/mdf/java/tutorial/uiswing/events/mouselistener.html" 
        target=_top><IMG alt="(in the Creating a User Interface trail)" border=0 
        height=20 src="The JComponent Class.files/uiIcon.gif" width=20></A> to 
        or from the component. Mouse listeners are notified when the user uses 
        the mouse to interact with the listened-to component.</TD></TR>
    <TR>
      <TD><CODE><FONT size=2>void addMouseMotionListener(MouseMotionListener) 
        <BR>void removeMouseMotionListener(MouseMotionListener) 
        </FONT></CODE><BR><EM>(in <CODE>java.awt.Component</CODE>)</EM></TD>
      <TD>Add or remove a <A 
        href="file:///E:/mdf/java/tutorial/uiswing/events/mousemotionlistener.html" 
        target=_top>mouse motion listener </A><A 
        href="file:///E:/mdf/java/tutorial/uiswing/events/mousemotionlistener.html" 
        target=_top><IMG alt="(in the Creating a User Interface trail)" border=0 
        height=20 src="The JComponent Class.files/uiIcon.gif" width=20></A> to 
        or from the component. Mouse motion listeners are notified when the user 
        moves the mouse within the listened-to component's bounds.</TD></TR>
    <TR>
      <TD><CODE><FONT size=2>void addContainerListener(ContainerListener) 
        <BR>void removeContainerListener(ContainerListener) 
        </FONT></CODE><BR><EM>(in <CODE>java.awt.Container</CODE>)</EM></TD>
      <TD>Add or remove a <A 
        href="file:///E:/mdf/java/tutorial/uiswing/events/containerlistener.html" 
        target=_top>container listener</A><A 
        href="file:///E:/mdf/java/tutorial/uiswing/events/containerlistener.html" 
        target=_top><IMG alt="(in the Creating a User Interface trail)" border=0 
        height=20 src="The JComponent Class.files/uiIcon.gif" width=20></A> to 
        or from the container. Container listeners are notified when a component 
        is added to or removed from the listened-to container.</TD></TR>
    <TR>
      <TD><CODE><FONT size=2>void addFocusListener(FocusListener) <BR>void 
        removeFocusListener(FocusListener) </FONT></CODE><BR><EM>(in 
        <CODE>java.awt.Component</CODE>)</EM></TD>
      <TD>Add or remove a <A 
        href="file:///E:/mdf/java/tutorial/uiswing/events/focuslistener.html" 
        target=_top>focus listener</A><A 
        href="file:///E:/mdf/java/tutorial/uiswing/events/focuslistener.html" 
        target=_top><IMG alt="(in the Creating a User Interface trail)" border=0 
        height=20 src="The JComponent Class.files/uiIcon.gif" width=20></A> to 
        or from the component. Focus listeners are notified when the listened-to 
        component gains or loses keyboard focus.</TD></TR>
    <TR>
      <TD><CODE><FONT size=2>Component getNextFocusableComponent() <BR>void 
        setNextFocusableComponent(Component) </FONT></CODE><BR><EM>(in 
        <CODE>JComponent</CODE>)</EM></TD>
      <TD>Set or get the next focusable component. <CODE>null</CODE> indicates 
        that the focus manager should choose the next focusable component 
        automatically.</TD></TR>
    <TR>
      <TD><CODE><FONT size=2>void requestFocus() <BR>boolean hasFocus() 
        </FONT></CODE><BR><EM>(in <CODE>java.awt.Component</CODE>)</EM></TD>
      <TD>Request that the component get the keyboard focus, or detect whether 
        it has the focus. </TD></TR>
    <TR>
      <TD><CODE><FONT size=2>boolean contains(int, int) <BR>boolean 
        contains(Point p) </FONT></CODE><BR><EM>(in 
        <CODE>java.awt.Component</CODE>)</EM></TD>
      <TD>Determine whether the specified point is within the component. The 
        argument should be specified in terms of the component's coordinate 
        system. The two <CODE>int</CODE> arguments specify x and y coordinates, 
        respectively.</TD></TR>
    <TR>
      <TD><CODE><FONT size=2>Component getComponentAt(int, int) 
        </FONT></CODE><BR><EM>(in <CODE>java.awt.Container</CODE>)</EM></TD>
      <TD>Return the component that contains the specified x, y position. The 
        top-most child component is returned in the case where components 
        overlap. This is determined by finding the component closest to the 
        index 0 that claims to contain the given point via 
        <CODE>Component.contains()</CODE>.</TD></TR></TBODY></TABLE>
  <P>
  <TABLE border=1>
    <CAPTION><A name=custompaintingapi><B>Painting Components</B> <BR>(see <A 
    href="file:///E:/mdf/java/tutorial/uiswing/overview/draw.html" 
    target=_top>Painting</A><A 
    href="file:///E:/mdf/java/tutorial/uiswing/overview/draw.html" 
    target=_top><IMG alt="(in the Creating a User Interface trail)" border=0 
    height=20 src="The JComponent Class.files/uiIcon.gif" width=20></A> for 
    details) </A></CAPTION>
    <TBODY>
    <TR>
      <TH>Method </TH>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美亚洲国产一卡| 国产精品私人影院| 久久色在线观看| 亚洲丝袜自拍清纯另类| 视频在线观看一区二区三区| 国产一区二区三区蝌蚪| 在线视频一区二区三| 久久婷婷色综合| 日韩中文字幕区一区有砖一区| 国产精品主播直播| 欧美日韩精品一区二区三区四区| 国产亚洲精品aa| 蜜臀久久99精品久久久久久9| youjizz久久| 日韩精品一区二区在线| 亚洲伊人伊色伊影伊综合网| 国产成人av电影| 欧美成人精品福利| 婷婷成人综合网| 色噜噜狠狠成人网p站| 久久免费美女视频| 人人超碰91尤物精品国产| 色综合久久久久久久久| 亚洲一区二区美女| caoporm超碰国产精品| 久久综合久久鬼色中文字| 五月婷婷欧美视频| 欧美视频你懂的| 亚洲精品一二三四区| 国产成人av一区二区| 欧美xxxx老人做受| 蜜臀91精品一区二区三区| 欧美精三区欧美精三区| 一区二区三区四区蜜桃| 91理论电影在线观看| 国产精品久久三区| 成人av资源下载| 国产日韩欧美a| 国产精品乡下勾搭老头1| 欧美精品一区二区三区在线播放 | 国产乱子轮精品视频| 日韩欧美在线123| 日韩国产成人精品| 91麻豆精品国产91久久久久久 | 国产精品三级在线观看| 国产·精品毛片| 国产日韩欧美一区二区三区综合| 久久99精品国产91久久来源| 欧美成人伊人久久综合网| 色综合色综合色综合色综合色综合 | 夜夜嗨av一区二区三区四季av| eeuss鲁片一区二区三区| 亚洲欧美在线视频观看| 99re成人精品视频| 亚洲另类春色国产| 欧美久久久久免费| 精品一区二区三区欧美| 国产亚洲精品bt天堂精选| 成人久久18免费网站麻豆 | 中文字幕一区二区三| 日本高清不卡一区| 视频一区欧美精品| 久久在线免费观看| 99热这里都是精品| 亚洲香肠在线观看| 日韩三级视频中文字幕| 国产成人在线视频网站| 亚洲免费在线播放| 欧美一区二区三区四区高清 | 一区二区三区在线看| 91精品视频网| 国产一区二区三区精品欧美日韩一区二区三区 | 亚洲国产裸拍裸体视频在线观看乱了 | 国产精品77777| 1000精品久久久久久久久| 国产视频在线观看一区二区三区| kk眼镜猥琐国模调教系列一区二区| 亚洲精品国产高清久久伦理二区| 337p亚洲精品色噜噜| 国产成人亚洲综合a∨猫咪| 亚洲综合在线免费观看| 精品粉嫩aⅴ一区二区三区四区| 99久久免费视频.com| 美女视频黄 久久| 亚洲同性gay激情无套| 日韩午夜av电影| 99精品国产视频| 狠狠色丁香九九婷婷综合五月| 最新成人av在线| 亚洲精品一区二区三区精华液 | 91性感美女视频| 六月婷婷色综合| 亚洲精品国产无套在线观| 国产偷国产偷亚洲高清人白洁| 欧美视频一区在线| 成人av在线一区二区三区| 日本不卡一区二区三区| 亚洲日本乱码在线观看| 国产偷国产偷精品高清尤物| 欧美一区2区视频在线观看| 色综合天天综合色综合av| 国产91在线|亚洲| 美腿丝袜一区二区三区| 成人免费视频网站在线观看| 日产国产高清一区二区三区| 一区二区三区在线视频观看| 国产欧美精品日韩区二区麻豆天美| 欧美一区二区三级| 欧美日韩一区二区在线视频| 91蜜桃在线观看| 99视频精品在线| 豆国产96在线|亚洲| 国产高清久久久久| 精品亚洲porn| 韩国v欧美v亚洲v日本v| 日韩av成人高清| 天天操天天色综合| 亚洲高清久久久| 午夜精品免费在线| 午夜亚洲福利老司机| 一二三区精品视频| 亚洲一级电影视频| 亚洲福利电影网| 午夜精品福利一区二区三区av| 一级特黄大欧美久久久| 亚洲在线视频免费观看| 亚洲国产精品久久人人爱蜜臀| 一区二区三区四区蜜桃| 亚洲综合色成人| 亚洲成人1区2区| 调教+趴+乳夹+国产+精品| 石原莉奈在线亚洲三区| 免费成人美女在线观看.| 另类中文字幕网| 国产麻豆91精品| 成人国产精品免费观看| 91丨porny丨在线| 欧美午夜电影在线播放| 欧美一区永久视频免费观看| 欧美精品一区视频| 国产精品欧美极品| 综合中文字幕亚洲| 亚洲一区二区三区三| 日韩国产精品久久久久久亚洲| 美国欧美日韩国产在线播放| 极品少妇xxxx精品少妇偷拍 | 亚洲影视在线播放| 日av在线不卡| 成人激情免费网站| 欧美性大战xxxxx久久久| 日韩精品自拍偷拍| 国产精品免费av| 亚洲一区二区三区中文字幕 | 成人免费看片app下载| 色综合视频在线观看| 69堂成人精品免费视频| 久久久蜜桃精品| 亚洲色图视频网| 麻豆国产欧美一区二区三区| av高清不卡在线| 日韩免费观看高清完整版| 中文字幕视频一区| 麻豆国产一区二区| 一本色道久久加勒比精品| 69精品人人人人| 亚洲丝袜美腿综合| 久久av老司机精品网站导航| 99re66热这里只有精品3直播| 制服视频三区第一页精品| 视频精品一区二区| 成人黄色av电影| 日韩一区二区精品| 亚洲色图都市小说| 国产一区二区久久| 欧美日韩国产片| 国产精品全国免费观看高清| 亚洲大片精品永久免费| 成人黄色小视频| 日韩区在线观看| 亚洲3atv精品一区二区三区| 成人性生交大片免费| 日韩一级免费一区| 一二三区精品视频| av在线不卡观看免费观看| 日韩一区二区免费在线电影| 亚洲午夜久久久久久久久电影网| 成人性生交大合| 国产视频一区在线播放| 精品在线播放免费| 欧美一区二区三区视频免费| 亚洲制服丝袜一区| 一本大道久久a久久精二百| 国产亚洲欧洲997久久综合 | 欧美大片拔萝卜| 亚洲一区二区精品久久av| www.性欧美| 国产欧美1区2区3区| 国产成人在线看| 国产三级久久久| 国产成人在线视频免费播放|