JExtendedInternalFrame: fix resize behaviour

JDiaAutoScaleFix
Harald Wolff 2018-02-07 10:55:10 +01:00
parent f38b9ce93a
commit 6b36943144
1 changed files with 30 additions and 27 deletions

View File

@ -54,6 +54,7 @@ public class JExtendedInternalFrame extends JInternalFrame
public void componentResized(ComponentEvent e) {
Component dp = getParent();
if(dp != null) {
Dimension dpr = dp.getSize();
Rectangle b = getBounds();
boolean reset = false;
@ -83,6 +84,8 @@ public class JExtendedInternalFrame extends JInternalFrame
setBounds(b);
}
}
}
});