File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
sources/net.sf.j2s.java.core/src/swingjs/plaf Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 11package swingjs .plaf ;
22
33
4+ import java .awt .Component ;
45import java .awt .Dimension ;
6+ import java .awt .Insets ;
57import java .awt .LayoutManager ;
68
79import javax .swing .JComponent ;
@@ -59,8 +61,11 @@ public Dimension getPreferredSize(JComponent jc) {
5961
6062 @ Override
6163 public Dimension getMinimumSize (JComponent jc ) {
62- LayoutManager man = jc .getLayout ();
63- return (man == null ? super .getMinimumSize (jc ) : jc .getLayout ().minimumLayoutSize (jc ));
64+ return null ;
65+ // // in our capacity as peer here, not UI.
66+ // LayoutManager man = jc.getLayout();
67+ // Dimension d = (man == null ? super.getMinimumSize(jc) : jc.getLayout().minimumLayoutSize(jc));
68+ // return d;
6469 }
6570
6671
You can’t perform that action at this time.
0 commit comments