remove empty border from glasspane

This commit is contained in:
Konstantin Bulenkov
2016-03-05 20:40:50 +01:00
parent 2cd3badf5c
commit f17ce99835
@@ -1,5 +1,5 @@
/*
* Copyright 2000-2015 JetBrains s.r.o.
* Copyright 2000-2016 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -403,9 +403,6 @@ public class GlassPaneDialogWrapperPeer extends DialogWrapperPeer implements Foc
private MyDialog(IdeGlassPaneEx pane, DialogWrapper wrapper, Project project) {
setLayout(new BorderLayout());
setOpaque(false);
setBorder(BorderFactory.createEmptyBorder(ShadowBorderPainter.TOP_SIZE, ShadowBorderPainter.SIDE_SIZE,
ShadowBorderPainter.BOTTOM_SIZE, ShadowBorderPainter.SIDE_SIZE));
myPane = pane;
myDialogWrapper = new WeakReference<DialogWrapper>(wrapper);
// myProject = new WeakReference<Project>(project);