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

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

?? jframe.java

?? linux下建立JAVA虛擬機的源碼KAFFE
?? JAVA
字號:
/* JFrame.java --   Copyright (C) 2002, 2004, 2005  Free Software Foundation, Inc.This file is part of GNU Classpath.GNU Classpath is free software; you can redistribute it and/or modifyit under the terms of the GNU General Public License as published bythe Free Software Foundation; either version 2, or (at your option)any later version.GNU Classpath is distributed in the hope that it will be useful, butWITHOUT ANY WARRANTY; without even the implied warranty ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNUGeneral Public License for more details.You should have received a copy of the GNU General Public Licensealong with GNU Classpath; see the file COPYING.  If not, write to theFree Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA02110-1301 USA.Linking this library statically or dynamically with other modules ismaking a combined work based on this library.  Thus, the terms andconditions of the GNU General Public License cover the wholecombination.As a special exception, the copyright holders of this library give youpermission to link this library with independent modules to produce anexecutable, regardless of the license terms of these independentmodules, and to copy and distribute the resulting executable underterms of your choice, provided that you also meet, for each linkedindependent module, the terms and conditions of the license of thatmodule.  An independent module is a module which is not derived fromor based on this library.  If you modify this library, you may extendthis exception to your version of the library, but you are notobligated to do so.  If you do not wish to do so, delete thisexception statement from your version. */package javax.swing;import java.awt.AWTEvent;import java.awt.BorderLayout;import java.awt.Component;import java.awt.Container;import java.awt.Dimension;import java.awt.Frame;import java.awt.Graphics;import java.awt.GraphicsConfiguration;import java.awt.LayoutManager;import java.awt.event.KeyEvent;import java.awt.event.WindowEvent;import javax.accessibility.Accessible;import javax.accessibility.AccessibleContext;/** * A window that supports window decorations (titlebar and borders). * This is an extension of {@link java.awt.Frame} that provides support * for the Swing architecture. Most importantly it contains a {@link JRootPane} * as it's only top-level child, that manages the content pane, the menu and * a glass pane. * * Also, unlike <code>java.awt.Frame</code>s, JFrames support the * Swing Pluggable Look &amp; Feel architecture. *  * @author Ronald Veldema (rveldema@cs.vu.nl) */public class JFrame extends Frame  implements WindowConstants, RootPaneContainer, Accessible{  /**   * Provides accessibility support for <code>JFrame</code>s.   */  protected class AccessibleJFrame extends Frame.AccessibleAWTFrame  {    /**     * Creates a new instance of <code>AccessibleJFrame</code>.     */    protected AccessibleJFrame()    {      super();      // Nothing to do here.    }  }  /**   * A flag for {@link #setDefaultCloseOperation(int)}, indicating that the   * application should be exited, when this <code>JFrame</code> is closed.   *   * @since 1.3   */  public static final int EXIT_ON_CLOSE = 3;  private static final long serialVersionUID = -3362141868504252139L;  private static boolean defaultLookAndFeelDecorated;  private int close_action = HIDE_ON_CLOSE;  protected AccessibleContext accessibleContext;  protected JRootPane rootPane;    /**   * @specnote rootPaneCheckingEnabled is false to comply with J2SE 5.0   */  protected boolean rootPaneCheckingEnabled = false;  public JFrame()  {    super("JFrame");    frameInit();  }  public JFrame(String title)  {    super(title);    frameInit();  }  /**   * Creates a new JFrame in the specified {@link GraphicsConfiguration}   * and with an empty title.   *   * @param gc the <code>GraphicsConfiguration</code> that is used for   *     the new <code>JFrame</code>   *   * @see Frame#Frame(GraphicsConfiguration)   */  public JFrame(GraphicsConfiguration gc)  {    super(gc);    frameInit();  }  /**   * Creates a new JFrame in the specified {@link GraphicsConfiguration}   * and with the specified title.   *   * @param title the title for the new <code>JFrame</code>   * @param gc the <code>GraphicsConfiguration</code> that is used for   *     the new <code>JFrame</code>   *   * @see Frame#Frame(String, GraphicsConfiguration)   */  public JFrame(String title, GraphicsConfiguration gc)  {    super(title, gc);    frameInit();  }  protected void frameInit()  {    super.setLayout(new BorderLayout(1, 1));    enableEvents(AWTEvent.WINDOW_EVENT_MASK);    getRootPane(); // will do set/create    // Setup the defaultLookAndFeelDecoration if requested.    if (isDefaultLookAndFeelDecorated()        && UIManager.getLookAndFeel().getSupportsWindowDecorations())      {        setUndecorated(true);        getRootPane().setWindowDecorationStyle(JRootPane.FRAME);      }    // We're now done the init stage.    setRootPaneCheckingEnabled(true);  }  public Dimension getPreferredSize()  {    return super.getPreferredSize();  }  public JMenuBar getJMenuBar()  {    return getRootPane().getJMenuBar();  }  public void setJMenuBar(JMenuBar menubar)  {    getRootPane().setJMenuBar(menubar);  }  public void setLayout(LayoutManager manager)  {    // Check if we're in initialization stage.  If so, call super.setLayout    // otherwise, valid calls go to the content pane.    if (isRootPaneCheckingEnabled())      getContentPane().setLayout(manager);    else      super.setLayout(manager);  }  public void setLayeredPane(JLayeredPane layeredPane)  {    getRootPane().setLayeredPane(layeredPane);  }  public JLayeredPane getLayeredPane()  {    return getRootPane().getLayeredPane();  }  public JRootPane getRootPane()  {    if (rootPane == null)      setRootPane(createRootPane());    return rootPane;  }  protected void setRootPane(JRootPane root)  {    if (rootPane != null)      remove(rootPane);    rootPane = root;    add(rootPane, BorderLayout.CENTER);  }  protected JRootPane createRootPane()  {    return new JRootPane();  }  public Container getContentPane()  {    return getRootPane().getContentPane();  }  public void setContentPane(Container contentPane)  {    getRootPane().setContentPane(contentPane);  }  public Component getGlassPane()  {    return getRootPane().getGlassPane();  }  public void setGlassPane(Component glassPane)  {    getRootPane().setGlassPane(glassPane);  }  protected void addImpl(Component comp, Object constraints, int index)  {    // If we're adding in the initialization stage use super.add.    // Otherwise pass the add onto the content pane.    if (isRootPaneCheckingEnabled())      getContentPane().add(comp,constraints,index);    else      super.addImpl(comp, constraints, index);  }  public void remove(Component comp)  {    // If we're removing the root pane, use super.remove. Otherwise    // pass it on to the content pane instead.    if (comp==rootPane)      super.remove(rootPane);    else      getContentPane().remove(comp);  }  protected boolean isRootPaneCheckingEnabled()  {    return rootPaneCheckingEnabled;  }  protected void setRootPaneCheckingEnabled(boolean enabled)  {    rootPaneCheckingEnabled = enabled;  }  public void update(Graphics g)  {    paint(g);  }  protected void processKeyEvent(KeyEvent e)  {    super.processKeyEvent(e);  }  public static void setDefaultLookAndFeelDecorated(boolean decorated)  {    defaultLookAndFeelDecorated = decorated;  }  public static boolean isDefaultLookAndFeelDecorated()  {    return defaultLookAndFeelDecorated;  }  public AccessibleContext getAccessibleContext()  {    if (accessibleContext == null)      accessibleContext = new AccessibleJFrame();    return accessibleContext;  }  public int getDefaultCloseOperation()  {    return close_action;  }  protected String paramString()  {    return "JFrame";  }  protected void processWindowEvent(WindowEvent e)  {    super.processWindowEvent(e);    switch (e.getID())      {      case WindowEvent.WINDOW_CLOSING:        {	  switch (close_action)	    {	    case EXIT_ON_CLOSE:	      {		System.exit(0);		break;	      }	    case DISPOSE_ON_CLOSE:	      {		dispose();		break;	      }	    case HIDE_ON_CLOSE:	      {		setVisible(false);		break;	      }	    case DO_NOTHING_ON_CLOSE:	      break;	    }	  break;        }      case WindowEvent.WINDOW_CLOSED:      case WindowEvent.WINDOW_OPENED:      case WindowEvent.WINDOW_ICONIFIED:      case WindowEvent.WINDOW_DEICONIFIED:      case WindowEvent.WINDOW_ACTIVATED:      case WindowEvent.WINDOW_DEACTIVATED:	break;      }  }  /**   * Defines what happens when this frame is closed. Can be one off   * <code>EXIT_ON_CLOSE</code>,   * <code>DISPOSE_ON_CLOSE</code>,   * <code>HIDE_ON_CLOSE</code> or   * <code>DO_NOTHING_ON_CLOSE</code>.   * The default is <code>HIDE_ON_CLOSE</code>.   * When <code>EXIT_ON_CLOSE</code> is specified this method calls   * <code>SecurityManager.checkExit(0)</code> which might throw a   * <code>SecurityException</code>. When the specified operation is   * not one of the above a <code>IllegalArgumentException</code> is   * thrown.   */  public void setDefaultCloseOperation(int operation)  {    SecurityManager sm = System.getSecurityManager();    if (sm != null && operation == EXIT_ON_CLOSE)      sm.checkExit(0);    if (operation != EXIT_ON_CLOSE && operation != DISPOSE_ON_CLOSE        && operation != HIDE_ON_CLOSE && operation != DO_NOTHING_ON_CLOSE)      throw new IllegalArgumentException("defaultCloseOperation must be EXIT_ON_CLOSE, HIDE_ON_CLOSE, DISPOSE_ON_CLOSE, or DO_NOTHING_ON_CLOSE");    close_action = operation;  }}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美激情中文字幕| 色94色欧美sute亚洲线路一ni | 国产v综合v亚洲欧| 久久麻豆一区二区| 国产高清久久久久| 欧美激情在线看| 91碰在线视频| 婷婷激情综合网| 欧美一区二区视频观看视频| 国产乱理伦片在线观看夜一区| 天堂久久久久va久久久久| 精品国产百合女同互慰| 亚洲va天堂va国产va久| 欧美精选一区二区| 久久精品国产**网站演员| 精品国产伦一区二区三区观看体验| 精彩视频一区二区| 国产女人aaa级久久久级| 成人av免费在线| 亚洲最大成人综合| 欧美日韩午夜在线| 久久99国产精品麻豆| 欧美激情综合五月色丁香| 色中色一区二区| 亚洲第一主播视频| 日韩精品一区二区三区中文不卡 | 国产麻豆精品视频| 中文字幕精品一区| 欧美日韩成人激情| 国产成人精品亚洲日本在线桃色| 一区二区三区精品视频在线| 久久只精品国产| 91色porny蝌蚪| 国产在线不卡一区| 亚洲精品免费在线观看| 欧美精品一区二区三区在线播放 | 欧美日韩五月天| 国产精品小仙女| 亚洲成a人v欧美综合天堂| 久久色成人在线| 欧美日韩精品电影| 成人h动漫精品一区二| 日本欧美韩国一区三区| 日韩理论片在线| 欧美mv日韩mv亚洲| 在线91免费看| 91啪九色porn原创视频在线观看| 狠狠色综合色综合网络| 日韩主播视频在线| 一区二区三区波多野结衣在线观看| 精品久久久久久综合日本欧美 | 成人av午夜影院| 精品一区二区精品| 日韩高清欧美激情| 亚洲另类春色校园小说| 国产日韩成人精品| 精品国产乱码久久久久久久| 欧美性受xxxx黑人xyx性爽| 99re8在线精品视频免费播放| 寂寞少妇一区二区三区| 欧美a一区二区| 亚洲午夜在线视频| 亚洲免费在线观看视频| 一区二区三区四区五区视频在线观看| 久久久av毛片精品| 国产亚洲精品福利| 精品99一区二区| 日韩欧美一二区| 欧美综合一区二区三区| 色www精品视频在线观看| 91香蕉视频污在线| 95精品视频在线| 成人aaaa免费全部观看| 成人性色生活片| 国产91综合一区在线观看| 极品少妇xxxx精品少妇| 黄色成人免费在线| 国产精品一区二区无线| 国产成人精品免费| 丁香激情综合国产| 成人av动漫网站| 99精品国产99久久久久久白柏| 东方欧美亚洲色图在线| 成人在线视频一区二区| 99久久免费精品| 欧美性受xxxx| 在线综合+亚洲+欧美中文字幕| 在线成人av影院| 日韩免费观看高清完整版| www一区二区| 久久久久久久久久久电影| 欧美国产丝袜视频| 亚洲同性同志一二三专区| 一区二区视频免费在线观看| 午夜精品视频在线观看| 麻豆视频观看网址久久| 国产一区二区不卡在线| 日韩一级成人av| 亚洲欧美另类久久久精品| 亚洲一区二区三区四区五区黄 | 亚洲愉拍自拍另类高清精品| 亚洲国产一区二区三区| 麻豆精品视频在线观看免费| 国产乱子轮精品视频| 国产馆精品极品| 91视频观看免费| 欧美一区二区在线免费观看| 国产亚洲一二三区| 亚洲精品成人悠悠色影视| 水野朝阳av一区二区三区| 国产一区视频导航| 97精品视频在线观看自产线路二| 欧美日韩高清一区二区| 久久久夜色精品亚洲| 亚洲人亚洲人成电影网站色| 日韩国产精品久久| 99在线精品视频| 欧美成人国产一区二区| 亚洲视频一二区| 久久精品国产秦先生| 99精品欧美一区二区三区小说 | 日本特黄久久久高潮| 国产精品综合久久| 91传媒视频在线播放| 337p粉嫩大胆噜噜噜噜噜91av | 91精品国产综合久久精品app| 久久影院电视剧免费观看| 亚洲精品国久久99热| 国产精品一区二区黑丝| 欧洲在线/亚洲| 国产欧美一区二区精品婷婷| 亚洲动漫第一页| 成人性生交大片免费看视频在线| 欧美喷潮久久久xxxxx| 国产精品久久久久久久久搜平片 | 在线免费不卡电影| 中文字幕的久久| 精品一区二区三区不卡| 欧美日韩国产bt| 一区二区三区在线观看欧美| 国产91综合一区在线观看| 日韩久久免费av| 亚洲成人av一区| 色欧美88888久久久久久影院| 久久久久久一二三区| 蜜臀av一区二区在线观看| 欧美在线免费视屏| 综合欧美一区二区三区| 成人精品在线视频观看| 久久久久国产精品人| 麻豆精品一二三| 日韩欧美在线综合网| 丝袜国产日韩另类美女| 欧美三级中文字幕| 亚洲黄色在线视频| 91麻豆精品在线观看| 国产精品你懂的在线欣赏| 国产剧情一区在线| 日韩精品中文字幕在线不卡尤物| 日本不卡123| 欧美一区二区三区小说| 日韩在线观看一区二区| 欧美肥妇毛茸茸| 美女一区二区视频| 日韩欧美成人午夜| 国内精品在线播放| 久久久九九九九| 国产传媒欧美日韩成人| 国产午夜一区二区三区| 国产精品资源在线看| 久久噜噜亚洲综合| 粉嫩蜜臀av国产精品网站| 国产精品美女久久福利网站| 成人av动漫网站| 亚洲视频一区在线| 欧美亚洲综合一区| 日韩不卡手机在线v区| 日韩无一区二区| 国产在线视频一区二区| 中文字幕精品—区二区四季| 成人精品高清在线| 最新欧美精品一区二区三区| 色域天天综合网| 婷婷成人激情在线网| 精品sm在线观看| www..com久久爱| 亚洲国产裸拍裸体视频在线观看乱了 | 欧美日本韩国一区| 久久疯狂做爰流白浆xx| 国产人久久人人人人爽| 91麻豆精品在线观看| 日韩成人av影视| 国产亚洲成年网址在线观看| 99久久国产综合精品女不卡| 亚洲午夜精品一区二区三区他趣| 欧美一区二区网站| 国产成人av影院| 亚洲丰满少妇videoshd| 久久久青草青青国产亚洲免观| av一区二区不卡|