< prev index next >

src/java.desktop/unix/classes/sun/awt/X11/XEmbedChildProxyPeer.java

Print this page

        

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 2003, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2018, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation.  Oracle designates this

@@ -79,11 +79,10 @@
             }
         }
     }
     public void setEnabled(boolean b) {}
     public void paint(Graphics g) {}
-    public void repaint(long tm, int x, int y, int width, int height) {}
     public void print(Graphics g) {}
     public void setBounds(int x, int y, int width, int height, int op) {
         // Unimplemeneted: Check for min/max hints for non-resizable
         XToolkit.awtLock();
         try {

@@ -267,55 +266,10 @@
      * its sub-elements.  For instance, a lightweight Checkbox needs to layout
      * the box, as well as the text label.
      */
     public void        layout() {}
 
-    /**
-     * DEPRECATED:  Replaced by getPreferredSize().
-     */
-    public Dimension            preferredSize() {
-        return getPreferredSize();
-    }
-
-    /**
-     * DEPRECATED:  Replaced by getMinimumSize().
-     */
-    public Dimension            minimumSize() {
-        return getMinimumSize();
-    }
-
-    /**
-     * DEPRECATED:  Replaced by setVisible(boolean).
-     */
-    public void         show() {
-        setVisible(true);
-    }
-
-    /**
-     * DEPRECATED:  Replaced by setVisible(boolean).
-     */
-    public void         hide() {
-        setVisible(false);
-    }
-
-    /**
-     * DEPRECATED:  Replaced by setEnabled(boolean).
-     */
-    public void         enable() {}
-
-    /**
-     * DEPRECATED:  Replaced by setEnabled(boolean).
-     */
-    public void         disable() {}
-
-    /**
-     * DEPRECATED:  Replaced by setBounds(int, int, int, int).
-     */
-    public void reshape(int x, int y, int width, int height) {
-        setBounds(x, y, width, height, SET_BOUNDS);
-    }
-
     Window getTopLevel(Component comp) {
         while (comp != null && !(comp instanceof Window)) {
             comp = comp.getParent();
         }
         return (Window)comp;
< prev index next >