Skip to content

Commit 7d68baf

Browse files
hansonrhansonr
authored andcommitted
JSPanelUI defaulting to min size 1x1 from NullComponentUI
1 parent 9e8f5ec commit 7d68baf

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

sources/net.sf.j2s.java.core/src/swingjs/plaf/JSPanelUI.java

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -66,14 +66,4 @@ public Dimension getPreferredSize(JComponent jc) {
6666
return null;
6767
}
6868

69-
@Override
70-
public Dimension getMinimumSize(JComponent jc) {
71-
return null;
72-
// // in our capacity as peer here, not UI.
73-
// LayoutManager man = jc.getLayout();
74-
// Dimension d = (man == null ? super.getMinimumSize(jc) : jc.getLayout().minimumLayoutSize(jc));
75-
// return d;
76-
}
77-
78-
7969
}

0 commit comments

Comments
 (0)