This commit is contained in:
Konstantin Bulenkov
2012-06-21 02:01:05 +02:00
parent e924b55415
commit b2c5778938
2 changed files with 0 additions and 9 deletions
@@ -1743,7 +1743,6 @@ public abstract class DialogWrapper {
UIUtil.removeQuaquaVisualMarginsIn(this);
JBScrollPane pane =
new JBScrollPane(myLabel, ScrollPaneConstants.VERTICAL_SCROLLBAR_NEVER, ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER);
pane.setHaveBorder(false);
pane.setBackground(null);
pane.getViewport().setBackground(null);
pane.setOpaque(false);
@@ -88,14 +88,6 @@ public class JBScrollPane extends JScrollPane {
return new MyScrollBar(Adjustable.HORIZONTAL);
}
public boolean isHaveBorder() {
return getBorder() != null;
}
public void setHaveBorder(boolean haveBorder) {
setBorder(haveBorder ? IdeBorderFactory.createBorder() : null);
}
@Override
protected JViewport createViewport() {
return new JBViewport();