Skip to content

Commit 0d22879

Browse files
hansonrhansonr
authored andcommitted
AWT rootpane insets
1 parent e630fae commit 0d22879

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sources/net.sf.j2s.java.core/src/javax/swing/JRootPane.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1042,9 +1042,9 @@ protected String paramString() {
10421042

10431043
@Override
10441044
public Insets getInsets() {
1045-
if (isAWT) {
1046-
return getTopLevelAncestor().getInsets();
1047-
}
1045+
// if (isAWT) {
1046+
// return getTopLevelAncestor().getInsets();
1047+
// }
10481048
return super.getInsets();
10491049
}
10501050

0 commit comments

Comments
 (0)