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

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

?? window.java

?? linux下編程用 編譯軟件
?? JAVA
?? 第 1 頁 / 共 3 頁
字號:
/* Window.java --   Copyright (C) 1999, 2000, 2002, 2003, 2004  Free Software FoundationThis 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 java.awt;import java.awt.event.ComponentEvent;import java.awt.event.FocusEvent;import java.awt.event.WindowAdapter;import java.awt.event.WindowEvent;import java.awt.event.WindowFocusListener;import java.awt.event.WindowListener;import java.awt.event.WindowStateListener;import java.awt.image.BufferStrategy;import java.awt.peer.WindowPeer;import java.lang.ref.Reference;import java.lang.ref.WeakReference;import java.util.EventListener;import java.util.Iterator;import java.util.Locale;import java.util.ResourceBundle;import java.util.Vector;import javax.accessibility.Accessible;import javax.accessibility.AccessibleContext;import javax.accessibility.AccessibleRole;import javax.accessibility.AccessibleState;import javax.accessibility.AccessibleStateSet;/** * This class represents a top-level window with no decorations. * * @author Aaron M. Renn (arenn@urbanophile.com) * @author Warren Levy  (warrenl@cygnus.com) */public class Window extends Container implements Accessible{  private static final long serialVersionUID = 4497834738069338734L;  // Serialized fields, from Sun's serialization spec.  private String warningString = null;  private int windowSerializedDataVersion = 0; // FIXME  /** @since 1.2 */  // private FocusManager focusMgr;  // FIXME: what is this?    /** @since 1.2 */  private int state = 0;  /** @since 1.4 */  private boolean focusableWindowState = true;  // A list of other top-level windows owned by this window.  private transient Vector ownedWindows = new Vector();  private transient WindowListener windowListener;  private transient WindowFocusListener windowFocusListener;  private transient WindowStateListener windowStateListener;  private transient GraphicsConfiguration graphicsConfiguration;  private transient boolean shown;  // This is package-private to avoid an accessor method.  transient Component windowFocusOwner;    /*   * The number used to generate the name returned by getName.   */  private static transient long next_window_number;  protected class AccessibleAWTWindow extends AccessibleAWTContainer  {    private static final long serialVersionUID = 4215068635060671780L;    public AccessibleRole getAccessibleRole()    {      return AccessibleRole.WINDOW;    }        public AccessibleStateSet getAccessibleStateSet()    {      AccessibleStateSet states = super.getAccessibleStateSet();      if (isActive())        states.add(AccessibleState.ACTIVE);      return states;    }  }  /**    * This (package access) constructor is used by subclasses that want   * to build windows that do not have parents.  Eg. toplevel   * application frames.  Subclasses cannot call super(null), since   * null is an illegal argument.   */  Window()  {    visible = false;    // Windows are the only Containers that default to being focus    // cycle roots.    focusCycleRoot = true;    setLayout(new BorderLayout());    addWindowFocusListener (new WindowAdapter ()      {        public void windowGainedFocus (WindowEvent event)        {          if (windowFocusOwner != null)            {              // FIXME: move this section and the other similar              // sections in Component into a separate method.              EventQueue eq = Toolkit.getDefaultToolkit ().getSystemEventQueue ();              synchronized (eq)                {                  KeyboardFocusManager manager = KeyboardFocusManager.getCurrentKeyboardFocusManager ();                  Component currentFocusOwner = manager.getGlobalPermanentFocusOwner ();                  if (currentFocusOwner != null)                    {                      eq.postEvent (new FocusEvent (currentFocusOwner, FocusEvent.FOCUS_LOST,                                                    false, windowFocusOwner));                      eq.postEvent (new FocusEvent (windowFocusOwner, FocusEvent.FOCUS_GAINED,                                                    false, currentFocusOwner));                    }                  else                    eq.postEvent (new FocusEvent (windowFocusOwner, FocusEvent.FOCUS_GAINED, false));                }            }        }      });        GraphicsEnvironment g = GraphicsEnvironment.getLocalGraphicsEnvironment();    graphicsConfiguration = g.getDefaultScreenDevice().getDefaultConfiguration();  }  Window(GraphicsConfiguration gc)  {    this();    graphicsConfiguration = gc;  }  /**   * Initializes a new instance of <code>Window</code> with the specified   * parent.  The window will initially be invisible.   *   * @param owner The owning <code>Frame</code> of this window.   *   * @exception IllegalArgumentException If the owner's GraphicsConfiguration   * is not from a screen device, or if owner is null; this exception is always   * thrown when GraphicsEnvironment.isHeadless returns true.   */  public Window(Frame owner)  {    this (owner, owner.getGraphicsConfiguration ());  }  /**   * Initializes a new instance of <code>Window</code> with the specified   * parent.  The window will initially be invisible.      *   * @exception IllegalArgumentException If the owner's GraphicsConfiguration   * is not from a screen device, or if owner is null; this exception is always   * thrown when GraphicsEnvironment.isHeadless returns true.   *   * @since 1.2   */  public Window(Window owner)  {    this (owner, owner.getGraphicsConfiguration ());  }    /**   * Initializes a new instance of <code>Window</code> with the specified   * parent.  The window will initially be invisible.      *   * @exception IllegalArgumentException If owner is null or if gc is not from a   * screen device; this exception is always thrown when   * GraphicsEnvironment.isHeadless returns true.   *   * @since 1.3   */  public Window(Window owner, GraphicsConfiguration gc)  {    this ();    synchronized (getTreeLock())      {	if (owner == null)	  throw new IllegalArgumentException ("owner must not be null");	parent = owner;        owner.ownedWindows.add(new WeakReference(this));      }    // FIXME: make this text visible in the window.    SecurityManager s = System.getSecurityManager();    if (s != null && ! s.checkTopLevelWindow(this))      warningString = System.getProperty("awt.appletWarning");    if (gc != null        && gc.getDevice().getType() != GraphicsDevice.TYPE_RASTER_SCREEN)      throw new IllegalArgumentException ("gc must be from a screen device");    if (gc == null)      graphicsConfiguration = GraphicsEnvironment.getLocalGraphicsEnvironment()                                                 .getDefaultScreenDevice()                                                 .getDefaultConfiguration();    else      graphicsConfiguration = gc;  }  GraphicsConfiguration getGraphicsConfigurationImpl()  {    if (graphicsConfiguration != null)	return graphicsConfiguration;    return super.getGraphicsConfigurationImpl();  }  /**   * Creates the native peer for this window.   */  public void addNotify()  {    if (peer == null)      peer = getToolkit().createWindow(this);    super.addNotify();  }  /**   * Relays out this window's child components at their preferred size.   *   * @specnote pack() doesn't appear to be called internally by show(), so   *             we duplicate some of the functionality.   */  public void pack()  {    if (parent != null && !parent.isDisplayable())      parent.addNotify();    if (peer == null)      addNotify();    setSize(getPreferredSize());    validate();  }  /**   * Shows on-screen this window and any of its owned windows for whom   * isVisible returns true.   */  public void show()  {    synchronized (getTreeLock())    {    if (parent != null && !parent.isDisplayable())      parent.addNotify();    if (peer == null)      addNotify();    // Show visible owned windows.	Iterator e = ownedWindows.iterator();	while(e.hasNext())	  {	    Window w = (Window)(((Reference) e.next()).get());	    if (w != null)	      {		if (w.isVisible())		  w.getPeer().setVisible(true);	      }     	    else	      // Remove null weak reference from ownedWindows.	      // Unfortunately this can't be done in the Window's	      // finalize method because there is no way to guarantee	      // synchronous access to ownedWindows there.	      e.remove();	  }    validate();    super.show();    toFront();    KeyboardFocusManager manager = KeyboardFocusManager.getCurrentKeyboardFocusManager ();    manager.setGlobalFocusedWindow (this);        if (!shown)      {        FocusTraversalPolicy policy = getFocusTraversalPolicy ();        Component initialFocusOwner = null;        if (policy != null)          initialFocusOwner = policy.getInitialComponent (this);        if (initialFocusOwner != null)          initialFocusOwner.requestFocusInWindow ();        shown = true;      }    }  }  public void hide()  {    // Hide visible owned windows.    synchronized (getTreeLock ())      {	Iterator e = ownedWindows.iterator();	while(e.hasNext())	  {	    Window w = (Window)(((Reference) e.next()).get());	    if (w != null)	      {		if (w.isVisible() && w.getPeer() != null)		  w.getPeer().setVisible(false);	      }     	    else	      e.remove();	  }      }    super.hide();  }  /**   * Destroys any resources associated with this window.  This includes   * all components in the window and all owned top-level windows.   */  public void dispose()  {    hide();    synchronized (getTreeLock ())      {	Iterator e = ownedWindows.iterator();	while(e.hasNext())	  {	    Window w = (Window)(((Reference) e.next()).get());	    if (w != null)	      w.dispose();	    else	      // Remove null weak reference from ownedWindows.	      e.remove();	  }	for (int i = 0; i < ncomponents; ++i)	  component[i].removeNotify();	this.removeNotify();        // Post a WINDOW_CLOSED event.        WindowEvent we = new WindowEvent(this, WindowEvent.WINDOW_CLOSED);        getToolkit().getSystemEventQueue().postEvent(we);      }  }  /**   * Sends this window to the back so that all other windows display in   * front of it.   */  public void toBack()  {

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
成人少妇影院yyyy| 99久久免费精品| 国产99久久久久久免费看农村| 成人性视频网站| 欧美午夜宅男影院| 日韩久久久久久| 国产精品短视频| 午夜伦欧美伦电影理论片| 久久www免费人成看片高清| 国产91在线看| 欧美午夜精品理论片a级按摩| 精品人伦一区二区色婷婷| 国产精品天美传媒沈樵| 午夜激情久久久| 顶级嫩模精品视频在线看| 欧美日韩视频不卡| 中文字幕不卡在线| 日韩国产成人精品| 成人国产一区二区三区精品| 欧美日韩dvd在线观看| 欧美国产精品专区| 三级成人在线视频| 久久精品亚洲精品国产欧美kt∨| 亚洲色图欧美激情| 国产一区二区在线观看免费| 欧美三级视频在线观看| 欧美经典三级视频一区二区三区| 首页欧美精品中文字幕| 波多野结衣亚洲一区| 日韩三级av在线播放| 亚洲美腿欧美偷拍| 国产精华液一区二区三区| 欧美日本不卡视频| 亚洲三级在线免费| 国产精品资源网| 欧美一区日本一区韩国一区| 亚洲私人影院在线观看| 国产一区二区三区黄视频| 欧美日韩一区二区不卡| 亚洲欧美综合色| 粉嫩久久99精品久久久久久夜| 日韩午夜电影在线观看| 亚洲一二三四在线| 99re这里只有精品6| 久久日一线二线三线suv| 天堂久久一区二区三区| 日本高清成人免费播放| 国产精品久久久久久户外露出| 美女在线一区二区| 欧美日韩高清一区二区三区| 亚洲男女毛片无遮挡| 国产99久久久精品| 精品区一区二区| 免费看日韩精品| 欧美人xxxx| 亚洲成人自拍网| 欧美影院一区二区| 亚洲素人一区二区| 91色.com| 国产精品久久久久久久久晋中 | 国产在线视视频有精品| 91精品国产综合久久香蕉的特点 | 欧美日韩色一区| 一区二区三区在线视频观看| 99精品热视频| 亚洲欧洲日韩一区二区三区| 成人午夜av电影| 国产精品久线观看视频| 成人免费的视频| 国产精品久久久久久久第一福利| av在线不卡电影| 国产精品国产三级国产aⅴ入口| 国产精品亚洲一区二区三区妖精 | 美女性感视频久久| 日韩三级在线观看| 精品午夜一区二区三区在线观看| 日韩精品一区二区三区在线| 久久99久久99小草精品免视看| 日韩三级免费观看| 国产一区二区三区免费观看| 久久伊人中文字幕| 国产91在线|亚洲| 亚洲欧美在线视频| 日本国产一区二区| 日韩精品乱码av一区二区| 日韩欧美资源站| 国产一区二区福利| 中文字幕第一区| 91在线观看地址| 亚洲1区2区3区4区| 日韩欧美中文一区| 国产一区二区网址| 亚洲视频1区2区| 欧美日韩中文字幕一区| 日本欧美久久久久免费播放网| 精品va天堂亚洲国产| 国产69精品久久久久777| 亚洲色图另类专区| 91精品黄色片免费大全| 国产馆精品极品| 亚洲男人天堂av网| 日韩视频在线你懂得| 国产激情精品久久久第一区二区 | 成人手机电影网| 一区二区日韩av| 日韩美女在线视频 | 中文字幕一区在线| 欧美性极品少妇| 久久99精品久久久久久国产越南 | 韩国欧美一区二区| 综合久久久久综合| 欧美一区二区美女| 国产精品456| 亚洲成在人线免费| 国产偷国产偷精品高清尤物| 日本精品免费观看高清观看| 日本美女一区二区三区| 中文字幕不卡在线观看| 欧美美女喷水视频| 福利电影一区二区| 午夜欧美大尺度福利影院在线看| 久久精品视频在线免费观看| 在线观看日韩精品| 国产主播一区二区| 亚洲综合丝袜美腿| 欧美精品一区二区三区四区 | 亚洲综合久久av| 精品成人一区二区三区| 91福利资源站| 国内精品久久久久影院色 | 欧美日韩视频第一区| 岛国精品在线观看| 免费观看一级特黄欧美大片| 亚洲丝袜美腿综合| 欧美精品一区二区三区久久久| 色狠狠综合天天综合综合| 韩国av一区二区三区在线观看| 亚洲在线一区二区三区| 国产三级三级三级精品8ⅰ区| 欧美嫩在线观看| www.日韩av| 紧缚奴在线一区二区三区| 一区二区三区国产精华| 国产欧美日韩在线视频| 日韩一区国产二区欧美三区| 色94色欧美sute亚洲线路一ni| 黄色小说综合网站| 同产精品九九九| 亚洲日本护士毛茸茸| 久久久亚洲欧洲日产国码αv| 欧美男同性恋视频网站| 色av成人天堂桃色av| 成人国产视频在线观看| 国产一区二区三区久久久| 日韩电影在线观看电影| 一区二区三区在线观看动漫 | av电影在线观看完整版一区二区| 蜜臀精品久久久久久蜜臀| 亚洲综合成人在线视频| 国产精品乱码人人做人人爱 | 韩国成人精品a∨在线观看| 免费一级欧美片在线观看| 亚洲线精品一区二区三区| 亚洲人亚洲人成电影网站色| 国产欧美精品区一区二区三区| 日韩精品一区二区三区中文精品| 91精品国产综合久久久久| 精品婷婷伊人一区三区三| 色天天综合久久久久综合片| 成人免费av网站| 高清国产一区二区三区| 国产在线视频不卡二| 久久成人综合网| 日本美女一区二区三区视频| 日日噜噜夜夜狠狠视频欧美人| 亚洲自拍偷拍网站| 亚洲一区二区三区视频在线| 亚洲男女一区二区三区| 伊人性伊人情综合网| 亚洲人成人一区二区在线观看| 国产精品久久毛片a| 国产精品久久久久天堂| 国产精品沙发午睡系列990531| 国产欧美一区二区在线| 国产精品久久久久久亚洲毛片 | 高清久久久久久| 成人精品免费视频| 国产精品一区二区91| 国内久久婷婷综合| 国产麻豆精品在线观看| 国产电影精品久久禁18| 粉嫩av一区二区三区在线播放| 粉嫩av亚洲一区二区图片| 99久久久免费精品国产一区二区| 99热国产精品| 欧美性三三影院| 在线不卡一区二区| 日韩视频一区在线观看| 久久久亚洲午夜电影| 国产精品视频一二三区|