src/java.desktop/unix/classes/sun/awt/X11/XPanelPeer.java
changeset 49998 9070717a16a1
parent 47216 71c04702a3d5
equal deleted inserted replaced
49997:0540b802b24e 49998:9070717a16a1
     1 /*
     1 /*
     2  * Copyright (c) 2002, 2015, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2002, 2018, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
   124                 }
   124                 }
   125             }
   125             }
   126         }
   126         }
   127     }
   127     }
   128 
   128 
   129     /**
       
   130      * DEPRECATED:  Replaced by getInsets().
       
   131      */
       
   132     public Insets insets() {
       
   133         return getInsets();
       
   134     }
       
   135 
       
   136     public void dispose() {
   129     public void dispose() {
   137         if (embedder != null) {
   130         if (embedder != null) {
   138             embedder.deinstall();
   131             embedder.deinstall();
   139         }
   132         }
   140         super.dispose();
   133         super.dispose();