jdk/src/macosx/classes/sun/lwawt/LWPanelPeer.java
changeset 13993 8b3fe3d8badb
parent 12047 320a714614e9
child 20153 d5bf90bfcb6d
equal deleted inserted replaced
13992:d1b65c4e924c 13993:8b3fe3d8badb
    24  */
    24  */
    25 
    25 
    26 
    26 
    27 package sun.lwawt;
    27 package sun.lwawt;
    28 
    28 
    29 import java.awt.Dimension;
       
    30 import java.awt.Panel;
    29 import java.awt.Panel;
    31 import java.awt.peer.PanelPeer;
    30 import java.awt.peer.PanelPeer;
    32 
    31 
    33 import javax.swing.JPanel;
    32 import javax.swing.JPanel;
    34 
    33 
    41 
    40 
    42     @Override
    41     @Override
    43     public JPanel createDelegate() {
    42     public JPanel createDelegate() {
    44         return new JPanel();
    43         return new JPanel();
    45     }
    44     }
    46 
       
    47     @Override
       
    48     public Dimension getMinimumSize() {
       
    49         return getBounds().getSize();
       
    50     }
       
    51 }
    45 }