equal
deleted
inserted
replaced
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 } |