|
|
|
@ -266,8 +266,8 @@ public class FormDesignerUI extends ComponentUI {
|
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
Rectangle bounds = designer.getTopContainer().getBounds(); |
|
|
|
|
bounds.x = -designer.getArea().getHorizontalValue(); |
|
|
|
|
bounds.y = -designer.getArea().getVerticalValue(); |
|
|
|
|
bounds.x = -designer.getHorizontalScaleValue(); |
|
|
|
|
bounds.y = -designer.getVerticalScaleValue(); |
|
|
|
|
Graphics clipg = g.create(); |
|
|
|
|
clipg.clipRect(bounds.x, bounds.y, bounds.width + 1, bounds.height + 1); |
|
|
|
|
paintResizing(clipg); |
|
|
|
|